File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1212
1313namespace Geocoder \Http \Provider \Tests ;
1414
15+ use Geocoder \Collection ;
1516use Geocoder \Http \Provider \AbstractHttpProvider ;
17+ use Geocoder \Model \AddressCollection ;
18+ use Geocoder \Query \GeocodeQuery ;
19+ use Geocoder \Query \ReverseQuery ;
1620use Http \Client \HttpClient ;
1721use Http \Mock \Client ;
1822use 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}
You can’t perform that action at this time.
0 commit comments