1 | <?php |
||
15 | class TableTest extends TestCase |
||
16 | { |
||
17 | public static function testCreatingATable() |
||
24 | |||
25 | /** |
||
26 | * When moving in a space, the dimensions of the move must |
||
27 | * be the same dimensionality as the space (in this model). |
||
28 | * |
||
29 | * @dataProvider getPlacesNotFitForATable |
||
30 | * @expectedException \Reith\ToyRobot\Domain\Space\Exception\PlaceDimensionsDoNotMatchSpaceException |
||
31 | */ |
||
32 | public static function testThatMovementsMustBeOfTheSameDimensionality(Place $badPlace) |
||
41 | |||
42 | public static function getPlacesNotFitForATable(): array |
||
50 | } |
||
51 |