<BUG>MatcherAssert.assertThat(doc.doc().get("point"), equalTo(GeoHashUtils.encode(1.2, 1.3)));</BUG><CONTEXT>.startObject("point").field("lat", 1.2).field("lon", 1.3).endObject().endObject().copiedBytes());MatcherAssert.assertThat(doc.doc().getField("point.lat"), nullValue());MatcherAssert.assertThat(doc.doc().getField("point.lon"), nullValue());<extra_id_0>}@Test public void testLatLonInOneValue() throws Exception {String mapping = XContentFactory.jsonBuilder().startObject().startObject("type")</CONTEXT>
MatcherAssert.assertThat(doc.doc().get("point"), equalTo("1.2,1.3"));