Skip to content

Commit fcda187

Browse files
authored
Added 'providedBy' (#698)
* Added 'providedBy' * Bugfix * Applied changes from StyleCI
1 parent b180244 commit fcda187

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Tests/Provider/AbstractHttpProviderTest.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212

1313
namespace Geocoder\Http\Provider\Tests;
1414

15+
use Geocoder\Collection;
1516
use Geocoder\Http\Provider\AbstractHttpProvider;
17+
use Geocoder\Model\AddressCollection;
18+
use Geocoder\Query\GeocodeQuery;
19+
use Geocoder\Query\ReverseQuery;
1620
use Http\Client\HttpClient;
1721
use Http\Mock\Client;
1822
use PHPUnit\Framework\TestCase;
@@ -33,4 +37,19 @@ public function getHttpClient(): HttpClient
3337
{
3438
return parent::getHttpClient();
3539
}
40+
41+
public function geocodeQuery(GeocodeQuery $query): Collection
42+
{
43+
return new AddressCollection([]);
44+
}
45+
46+
public function reverseQuery(ReverseQuery $query): Collection
47+
{
48+
return new AddressCollection([]);
49+
}
50+
51+
public function getName(): string
52+
{
53+
return 'dummy';
54+
}
3655
}

0 commit comments

Comments
 (0)