public function testCenter() { $this->bound->setSouthWest(-1, 0, false); $this->bound->setNorthEast(1, 2, false); $center = $this->bound->getCenter(); $this->assertSame(0, $center->getLatitude()); $this->assertSame(1, $center->getLongitude()); $this->assertTrue($center->isNoWrap()); }