Esempio n. 1
0
 public function testRotateControlWithNullValue()
 {
     $this->map->setRotateControl($this->getMock('Ivory\\GoogleMap\\Controls\\RotateControl'));
     $this->map->setRotateControl(null);
     $this->assertNull($this->map->getRotateControl());
     $this->assertFalse($this->map->hasMapOption('rotateControl'));
 }