1 | <?php |
||
13 | class TestGeocoder extends TestCase { |
||
14 | |||
15 | /** |
||
16 | * @var Geocoder |
||
17 | */ |
||
18 | private $_geocoder; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $_api_key = '12345'; |
||
24 | |||
25 | /** |
||
26 | * |
||
27 | */ |
||
28 | public function setUp() { |
||
31 | |||
32 | /** |
||
33 | * @covers ::__construct |
||
34 | * @covers ::api_key |
||
35 | */ |
||
36 | public function testConstructorWithAPIKey() { |
||
39 | |||
40 | /** |
||
41 | * @covers ::_make_url |
||
42 | */ |
||
43 | public function testMakeUrl() { |
||
50 | |||
51 | /** |
||
52 | * @covers ::_get_data |
||
53 | */ |
||
54 | public function testGetDataCache() { |
||
59 | |||
60 | /** |
||
61 | * @covers ::_parse_response |
||
62 | */ |
||
63 | public function testParseResponse() { |
||
70 | |||
71 | /** |
||
72 | * @covers ::_make_request |
||
73 | */ |
||
74 | public function testMakeRequestInvalidURL() { |
||
78 | |||
79 | } |