1 | <?php |
||
16 | class LatLongValueTest extends DataValueTest { |
||
17 | |||
18 | /** |
||
19 | * @see DataValueTest::getClass |
||
20 | * |
||
21 | * @return string |
||
22 | */ |
||
23 | public function getClass() { |
||
26 | |||
27 | public function validConstructorArgumentsProvider() { |
||
43 | |||
44 | public function invalidConstructorArgumentsProvider() { |
||
55 | |||
56 | /** |
||
57 | * @dataProvider instanceProvider |
||
58 | * @param LatLongValue $latLongValue |
||
59 | * @param array $arguments |
||
60 | */ |
||
61 | public function testGetLatitude( LatLongValue $latLongValue, array $arguments ) { |
||
67 | |||
68 | /** |
||
69 | * @dataProvider instanceProvider |
||
70 | * @param LatLongValue $latLongValue |
||
71 | * @param array $arguments |
||
72 | */ |
||
73 | public function testGetLongitude( LatLongValue $latLongValue, array $arguments ) { |
||
79 | |||
80 | /** |
||
81 | * @dataProvider invalidCoordinatesProvider |
||
82 | */ |
||
83 | public function testConstructorThrowsExceptionWhenParametersAreInvalid( float $latitude, float $longitude ) { |
||
87 | |||
88 | public function invalidCoordinatesProvider() { |
||
94 | |||
95 | } |
||
96 |