/**
  * Checks the map type control styles getter
  */
 public function testMapTypeControlStyles()
 {
     $this->assertEquals(MapTypeControlStyle::getMapTypeControlStyles(), array(MapTypeControlStyle::DEFAULT_, MapTypeControlStyle::DROPDOWN_MENU, MapTypeControlStyle::HORIZONTAL_BAR));
 }
 /**
  * Sets the map type control style
  *
  * @param type $mapTypeControlStyle
  */
 public function setMapTypeControlStyle($mapTypeControlStyle)
 {
     if (in_array($mapTypeControlStyle, MapTypeControlStyle::getMapTypeControlStyles())) {
         $this->mapTypeControlStyle = $mapTypeControlStyle;
     } else {
         throw new \InvalidArgumentException(sprintf('The map type control style of a map type control can only be : %s.', implode(', ', MapTypeControlStyle::getMapTypeControlStyles())));
     }
 }