public function testConstruct()
 {
     $geolocation = $this->getMockForAbstractClass(AbstractGeolocation::class);
     $waypoint = new GeolocationWaypoint($geolocation);
     $this->assertSame($geolocation, $waypoint->getGeolocation());
 }
 public function __construct(GeolocationInterface $geolocation, $label = null)
 {
     $this->label = $label;
     parent::__construct($geolocation);
 }