@Test
public void testGeoCoordinatesLocationReference() throws PhysicalFormatException {

    Coordinates coordinates = Coordinates.newBuilder()
            .setLongitude(1.5)
            .setLatitude(2.5)
            .build();
    GeoCoordinatesLocationReference geoCoordinatesLocationReference = GeoCoordinatesLocationReference.newBuilder()
            .setCoordinates(coordinates)
            .build();
    LocationReferenceData locationReferenceData = LocationReferenceData.newBuilder()
            .setGeoCoordinatesLocationReference(geoCoordinatesLocationReference)
            .build();
    LocationReference locationReference = new LocationReferenceProtoImpl("2", LocationType.GEO_COORDINATES, locationReferenceData);
    RawLocationReference rawLocationReference = decoder.decodeData(locationReference);
    assertNotNull(rawLocationReference);
    assertEquals(rawLocationReference.getID(), "2");
    assertEquals(rawLocationReference.getLocationType(), LocationType.GEO_COORDINATES);
    assertTrue(rawLocationReference.isValid());
}