public function testCircleWithoutAutoZoom()
 {
     $circle = $this->getMock('Ivory\\GoogleMap\\Overlays\\Circle');
     $this->setUpBound();
     $this->map->getBound()->expects($this->never())->method('extend');
     $this->map->addCircle($circle);
     $this->assertSame(array($circle), $this->map->getCircles());
 }
 /**
  * Renders the javascript container circles.
  *
  * @param \Ivory\GoogleMap\Map $map The map.
  *
  * @return string The JS output.
  */
 public function renderJsContainerCircles(Map $map)
 {
     $output = array();
     foreach ($map->getCircles() as $circle) {
         $output[] = sprintf('%s.circles.%s = %s', $this->getJsContainerName($map), $circle->getJavascriptVariable(), $this->circleHelper->render($circle, $map));
     }
     return implode('', $output);
 }