public function testOverviewMapControlWithNullValue() { $this->map->setOverviewMapControl($this->getMock('Ivory\\GoogleMap\\Controls\\OverviewMapControl')); $this->map->setOverviewMapControl(null); $this->assertNull($this->map->getOverviewMapControl()); $this->assertFalse($this->map->hasMapOption('overviewMapControl')); }