public function testFormatDefault() { $coordinate = new Coordinate(52.5, 13.5); $json = '{ "type" : "Point" , "coordinates" : [ 13.5, 52.5 ] }'; $this->assertJsonStringEqualsJsonString($json, $this->formatter->format($coordinate)); }