/**
  * Sets the zoom control style
  *
  * @param string $zoomControlStyle
  */
 public function setZoomControlStyle($zoomControlStyle)
 {
     if (in_array($zoomControlStyle, ZoomControlStyle::getZoomControlStyles())) {
         $this->zoomControlStyle = $zoomControlStyle;
     } else {
         throw new \InvalidArgumentException(sprintf('The zoom control style of a zoom control can only be : %s.', implode(', ', ZoomControlStyle::getZoomControlStyles())));
     }
 }
 /**
  * Checks the zoom styles getter
  */
 public function testZoomControlStyles()
 {
     $this->assertEquals(ZoomControlStyle::getZoomControlStyles(), array(ZoomControlStyle::DEFAULT_, ZoomControlStyle::LARGE, ZoomControlStyle::SMALL));
 }