@Test
public void testUnsupportedLocationType() {

    LocationReferenceData locationReferenceData = LocationReferenceData.newBuilder()
            .build();
    LocationReference locationReference = new LocationReferenceProtoImpl("1", LocationType.UNKNOWN, locationReferenceData);
    try {
        decoder.decodeData(locationReference);
        fail();
    } catch (PhysicalFormatException e) {
        assertEquals(e.getErrorCode(), OpenLRProtoStatusCode.UNSUPPORTED_LOCATION_TYPE);
    }
}