1 | <?php |
||
9 | class TypesTest extends TestCase |
||
10 | { |
||
11 | /** |
||
12 | * @dataProvider typesAsStringProvider |
||
13 | */ |
||
14 | public function testGetType($typeAsString, $expectedType) |
||
18 | |||
19 | /** |
||
20 | * @expectedException \RuntimeException |
||
21 | * @expectedExceptionMessage Type 'not a valid type' is not supported |
||
22 | */ |
||
23 | public function testGetTypeWithAnUnknownTypeThrows() |
||
27 | |||
28 | public function typesAsStringProvider() |
||
44 | } |
||
45 |