@Test
public final void testWhitePaperLineLocation() {

    LocationReference ref = XML_ENCODER
            .encodeData(lineLocWhitePaperExample);
    XMLLocationReference xmlLoc = ((OpenLR) ref.getLocationReferenceData())
            .getXMLLocationReference();
    LineLocationReference lineLoc = xmlLoc.getLineLocationReference();
    Utils.checkLRPs(lineLoc.getLocationReferencePoint(),
            lineLoc.getLastLocationReferencePoint(), pointsWPLineExample);
    Utils.checkOffsets(lineLoc.getOffsets(), offsetsWPLine);
    validEncodeLocation = ref;
}