<?php declare(strict_types=1);

namespace Newland\Toubiz\Sync\Neos\Tests\Unit\Importer\Mock;

use Newland\Toubiz\Api\Service\GeoLocation\GeoLocationServiceInterface;

class GeoLocationServiceMock implements GeoLocationServiceInterface
{
    public $zip;
    public function __construct(string $zip)
    {
        $this->zip = $zip;
    }

    public function getZipFromGeoLocation(float $lat = null, float $lon = null): string
    {
        return $this->zip;
    }
}
