Example #1
0
 public function testStreetViewControlWithNullValue()
 {
     $this->map->setStreetViewControl($this->getMock('Ivory\\GoogleMap\\Controls\\StreetViewControl'));
     $this->map->setStreetViewControl(null);
     $this->assertNull($this->map->getStreetViewControl());
     $this->assertFalse($this->map->hasMapOption('streetViewControl'));
 }