1 | <?php |
||
8 | final class TokenTypeTest extends TestCase |
||
9 | { |
||
10 | /** |
||
11 | * @test |
||
12 | */ |
||
13 | public function itRepresentsATokenType() |
||
26 | |||
27 | /** |
||
28 | * @test |
||
29 | */ |
||
30 | public function itGiveAllTypesOfAToken() |
||
41 | |||
42 | /** |
||
43 | * @test |
||
44 | */ |
||
45 | public function itGiveAllTypesOfATokenAsString() |
||
56 | |||
57 | /** |
||
58 | * @test |
||
59 | * @expectedException \InvalidArgumentException |
||
60 | * @expectedExceptionMessage Invalid token type "unknownType" |
||
61 | */ |
||
62 | public function itCannotBeCreatedWithAUnknownType() |
||
66 | } |
||
67 |