@Test
public void testInvalidLocationReference() {

    GeoCoordinatesLocationReference geoCoordinatesLocationReference = GeoCoordinatesLocationReference.newBuilder()
            .build();
    LocationReferenceData locationReferenceData = LocationReferenceData.newBuilder()
            .setGeoCoordinatesLocationReference(geoCoordinatesLocationReference)
            .build();
    try {
        geoCoordinatesDecoder.decode("1", locationReferenceData);
        fail();
    } catch (PhysicalFormatException e) {
        assertEquals(e.getErrorCode(), OpenLRProtoStatusCode.INVALID_LOCATION_REFERENCE);
    }
}