/** * Checks the stopover getter & setter */ public function testStopover() { self::$directionsWaypoint->setStopover(true); $this->assertTrue(self::$directionsWaypoint->hasStopover()); $this->assertTrue(self::$directionsWaypoint->getStopover()); self::$directionsWaypoint->setStopover(null); $this->assertFalse(self::$directionsWaypoint->hasStopover()); }