Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function testCreate(): void |
||
13 | { |
||
14 | $typeValue = TypeValue::create('BOS', 'Logan International Airport', ['Boston Logan']); |
||
15 | |||
16 | $json = \file_get_contents(__DIR__ . '/../../../../Response/Data/directive_entity_type_value.json'); |
||
17 | $expected = \json_encode(\json_decode($json)); |
||
18 | $actual = \json_encode($typeValue); |
||
19 | |||
20 | $this->assertSame($expected, $actual); |
||
21 | } |
||
23 |