Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | final class PlaceCollectorTest extends TestCase |
||
10 | { |
||
11 | public function testGetTotalPlaces(): void |
||
19 | } |
||
20 | |||
21 | public function testGetByWeight(): void |
||
22 | { |
||
23 | /** @var PlacesCollector $placeCollector */ |
||
24 | $placeCollector = new PlacesCollector(); |
||
25 | |||
26 | $placeCollector->addBasePlaceTypes(); |
||
27 | |||
28 | $this->assertInstanceOf(Corridor::class, $placeCollector->getPlaceTypeByWeight(2)); |
||
29 | } |
||
30 | |||
31 | public function testAddAndGetByWeight(): void |
||
41 | } |
||
42 | } |