PHP Class Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Lexer\ReferenceLexerTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: nelmio/alice

Public Methods

Method Description
provideValues ( )
setUp ( )
testIsALexer ( )
testIsNotClonable ( )
testReturnsMatchingToken ( string $value, array $expected )
testThrowsAnExceptionIfNoMatchingPatternFound ( )
testThrowsAnExceptionWhenAnInvalidValueIsGiven ( )
testUsesTheRegexCachedGroupForTheTokenValue ( )

Method Details

provideValues() public method

public provideValues ( )

setUp() public method

public setUp ( )

testIsALexer() public method

public testIsALexer ( )

testIsNotClonable() public method

public testIsNotClonable ( )

testReturnsMatchingToken() public method

public testReturnsMatchingToken ( string $value, array $expected )
$value string
$expected array

testThrowsAnExceptionIfNoMatchingPatternFound() public method

testThrowsAnExceptionWhenAnInvalidValueIsGiven() public method

testUsesTheRegexCachedGroupForTheTokenValue() public method