@Test
public final void testMissingOffsets() {

    RawLineLocRef rawLoc = new RawLineLocRef("1",
            new ArrayList<LocationReferencePoint>(), null);
    LocationReference locRef = XML_ENCODER.encodeData(rawLoc);
    assertFalse(locRef.isValid());
}