@Test
public final void testInvalidLocationEncoding() {

    LocationReference result = BINARY_ENCODER.encodeData(lineLocRefEmpty);
    assertFalse(result.isValid());
    assertSame(result.getReturnCode(), MISSING_DATA);
    assertNotNull(result.toString());
    assertNull(result.getLocationReferenceData());
}