}
public void shouldConvertLineString() {
JsonArray ls = toJsonJLineString(lineString1);
assertThat(ls.first().asArray(), is(toJsonJPoint(point1)));
assertThat(ls.last().asArray(), is(toJsonJPoint(point3)));
}
public void shouldSwapPoints() {
JsonArray ls = toJsonJLineString(lineString1);
JsonArray swapped = swapLatLon(ls);