1 | <?php |
||
19 | class NominatimClientTest extends \PHPUnit_Framework_TestCase |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * Test valid client |
||
24 | */ |
||
25 | public function testValidClient() |
||
34 | |||
35 | /** |
||
36 | * Test reverse, wrong params |
||
37 | * |
||
38 | * @dataProvider setWrongLatitudeAndLongitude |
||
39 | * @expectedException \InvalidArgumentException |
||
40 | */ |
||
41 | public function testReverseWrongParams($latitude, $longitude) |
||
46 | |||
47 | /** |
||
48 | * Test reverse, ok |
||
49 | */ |
||
50 | public function testReverseOk() |
||
62 | |||
63 | /** |
||
64 | * Set wrong Latitude and Longitude data provider |
||
65 | * |
||
66 | * @return array |
||
67 | */ |
||
68 | public function setWrongLatitudeAndLongitude() |
||
75 | |||
76 | } |
||
77 |