Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
30 | public function testGetCargoTypes(): void |
||
31 | { |
||
32 | $actualResult = $this->model->getCargoTypes(); |
||
33 | $this->assertNotEmpty($actualResult); |
||
34 | $entity = array_shift($actualResult); |
||
35 | $expectedProperties = [ |
||
36 | 'Description', |
||
37 | 'Ref', |
||
38 | ]; |
||
39 | $this->assertEntity($entity, $expectedProperties); |
||
40 | } |
||
42 |