/** * @expectedException \Ivory\GoogleMap\Exception\MapException * @expectedExceptionMessage The rotate control setter arguments is invalid. * The available prototypes are : * - function setRotateControl(Ivory\GoogleMap\Controls\RotateControl $rotateControl = null) * - function setRotateControl(string $controlPosition) */ public function testRotateControlWithInvalidValue() { $this->map->setRotateControl(true); }