@Test
public void testMissingLocationReference() {

    LocationReferenceData locationReferenceData = LocationReferenceData.newBuilder()
            .build();
    try {
        pointAlongLineDecoder.decode("1", locationReferenceData);
        fail();
    } catch (PhysicalFormatException e) {
        assertEquals(e.getErrorCode(), OpenLRProtoStatusCode.MISSING_LOCATION_REFERENCE);
    }
}