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 12
12
13
13
namespace Geocoder \Http \Provider \Tests ;
14
14
15
+ use Geocoder \Collection ;
15
16
use Geocoder \Http \Provider \AbstractHttpProvider ;
17
+ use Geocoder \Model \AddressCollection ;
18
+ use Geocoder \Query \GeocodeQuery ;
19
+ use Geocoder \Query \ReverseQuery ;
16
20
use Http \Client \HttpClient ;
17
21
use Http \Mock \Client ;
18
22
use PHPUnit \Framework \TestCase ;
@@ -33,4 +37,19 @@ public function getHttpClient(): HttpClient
33
37
{
34
38
return parent ::getHttpClient ();
35
39
}
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
+ }
36
55
}
You can’t perform that action at this time.
0 commit comments