Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | public function testGivenATooLowLongitudeAnExceptionIsThrown(): void |
||
24 | { |
||
25 | $this->expectException(\InvalidArgumentException::class); |
||
26 | $this->expectExceptionMessage("Longitude must be a float number between -180.00 and 180.00."); |
||
27 | |||
28 | // Arrange |
||
29 | $longitude = -190.00; |
||
30 | |||
31 | // Act |
||
32 | CoordinatesLongitude::fromValue($longitude); |
||
33 | } |
||
47 |