public function testSingleBuildWithValues()
 {
     $this->mapBuilder->setPrefixJavascriptVariable('foo')->setHtmlContainerId('bar')->setAsync(true)->setAutoZoom(true)->setLibraries(array('foo'))->setLanguage('fr')->setCenter(1, 2, false)->setBound(1, 2, 3, 4, true, false)->setMapOptions(array('foo' => 'bar'))->setStylesheetOptions(array('bar' => 'foo'));
     $this->assertSame('foo', $this->mapBuilder->getPrefixJavascriptVariable());
     $this->assertSame('bar', $this->mapBuilder->getHtmlContainerId());
     $this->assertTrue($this->mapBuilder->getAsync());
     $this->assertTrue($this->mapBuilder->getAutoZoom());
     $this->assertSame(array('foo'), $this->mapBuilder->getLibraries());
     $this->assertSame('fr', $this->mapBuilder->getLanguage());
     $this->assertSame(array(1, 2, false), $this->mapBuilder->getCenter());
     $this->assertSame(array(1, 2, true, 3, 4, false), $this->mapBuilder->getBound());
     $this->assertSame(array('foo' => 'bar'), $this->mapBuilder->getMapOptions());
     $this->assertSame(array('bar' => 'foo'), $this->mapBuilder->getStylesheetOptions());
     $map = $this->mapBuilder->build();
     $this->assertSame('foo', substr($map->getJavascriptVariable(), 0, 3));
     $this->assertSame('bar', $map->getHtmlContainerId());
     $this->assertTrue($map->isAsync());
     $this->assertTrue($map->isAutoZoom());
     $this->assertSame(array('foo'), $map->getLibraries());
     $this->assertSame('fr', $map->getLanguage());
     $this->assertSame(1, $map->getCenter()->getLatitude());
     $this->assertSame(2, $map->getCenter()->getLongitude());
     $this->assertFalse($map->getCenter()->isNoWrap());
     $this->assertSame(1, $map->getBound()->getSouthWest()->getLatitude());
     $this->assertSame(2, $map->getBound()->getSouthWest()->getLongitude());
     $this->assertTrue($map->getBound()->getSouthWest()->isNoWrap());
     $this->assertSame(3, $map->getBound()->getNorthEast()->getLatitude());
     $this->assertSame(4, $map->getBound()->getNorthEast()->getLongitude());
     $this->assertFalse($map->getBound()->getNorthEast()->isNoWrap());
     $this->assertSame(array('mapTypeId' => MapTypeId::ROADMAP, 'zoom' => 3, 'foo' => 'bar'), $map->getMapOptions());
     $this->assertSame(array('width' => '300px', 'height' => '300px', 'bar' => 'foo'), $map->getStylesheetOptions());
 }