@Test
    public void testPositionNegative() throws IOException {
        Document doc = docFromJson("""
                                   {
                                     "put": "id:unittest:testsinglepos::bamf",
                                     "fields": {
                                       "singlepos": "W46.63;S23.55"
                                     }
                                   }
                                   """);
        FieldValue f = doc.getFieldValue(doc.getField("singlepos"));
        assertSame(Struct.class, f.getClass());
        assertEquals(-46630000, PositionDataType.getXValue(f).getInteger());
        assertEquals(-23550000, PositionDataType.getYValue(f).getInteger());
    }
Basic test of JSON streams to Vespa document instances.

@author Steinar Knutsen
@author bratseth
document/src/test/java/com/yahoo/document/json/JsonReaderTestCase.java