@Test
public void readGeometryTest() throws IOException {

    when(parser.readGeometry(reader)).thenCallRealMethod();
    when(reader.hasNext()).thenReturn(true, true, true, false);
    when(reader.nextName()).thenReturn("lat", "lng", "skip");
    when(reader.nextDouble()).thenReturn(1.0, 2.0);
    PlaceGeometry expected = new PlaceGeometry(new PlaceLocation(1.0, 2.0));
    PlaceGeometry actual = parser.readGeometry(reader);
    assertEquals(expected, actual);
}