/**
  * Sets the info window open event
  *
  * @param string $openEvent
  */
 public function setOpenEvent($openEvent)
 {
     if (in_array($openEvent, MouseEvent::getMouseEvents())) {
         $this->openEvent = $openEvent;
     } else {
         throw new \InvalidArgumentException(sprintf('The only available open event are : %s', implode(', ', MouseEvent::getMouseEvents())));
     }
 }
 /**
  * Checks the map type control styles getter
  */
 public function testMapTypeControlStyles()
 {
     $this->assertEquals(MouseEvent::getMouseEvents(), array(MouseEvent::CLICK, MouseEvent::DBLCLICK, MouseEvent::MOUSEUP, MouseEvent::MOUSEDOWN, MouseEvent::MOUSEOVER, MouseEvent::MOUSEOUT));
 }