1 token.test TokenTestHelper::assertToken($type, array $data, $token, $expected, array $options = array())

File

core/modules/simpletest/tests/token.test, line 200
Test integration for the token module.

Class

TokenTestHelper
Helper test class with some added functions for testing.

Code

function assertToken($type, array $data, $token, $expected, array $options = array()) {
  return $this->assertTokens($type, $data, array($token => $expected), $options);
}