/** * @expectedException \Ivory\GoogleMap\Exception\MapException * @expectedExceptionMessage The pan control setter arguments is invalid. * The available prototypes are : * - function setPanControl(Ivory\GoogleMap\Controls\PanControl $panControl = null) * - function setPanControl(string $controlPosition) */ public function testPanControlWithInvalidValue() { $this->map->setPanControl(true); }