| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function checkApiKeyTest() { |
||
| 23 | |||
| 24 | $gm = new GoogleMapsApi([ |
||
| 25 | GoogleMapsApiConfigFields::SERVICE_ENDPOINT => 'geocode', |
||
| 26 | GoogleMapsApiConfigFields::KEY => 'test_key' |
||
| 27 | ]); |
||
| 28 | $this->assertEquals($gm->getKey(), 'test_key'); |
||
| 29 | $this->assertEquals($gm->getServiceEndpoint(), 'geocode'); |
||
| 30 | } |
||
| 32 |