1000.7, 'longitude' => -2000.4, ]; $location = new VisitLocation($payload); $this->assertSame('1000.7', $location->getLatitude()); $this->assertSame('-2000.4', $location->getLongitude()); } }