@Test
public final void testLocRefPoint() {

    LocRefData lrd = new LocRefData(td.getRoute());
    lrd.setExpansion(td.getLRLocation());
    List<Line> path = ExpansionHelper.getExpandedLocation(lrd);
    LocRefPoint lrp1 = null;
    LocRefPoint lrp2 = null;
    try {
        lrp1 = new LocRefPoint(path, td.getProperties());
        lrp2 = new LocRefPoint(path, td.getProperties());
    } catch (OpenLRProcessingException e) {
        fail("", e);
    }
    lrp1.setNextLRP(lrp2);
    assertEquals(lrp1.getLfrc(), FunctionalRoadClass.FRC_5);
    assertEquals(lrp1.getBearing(),
            EXPECTED_BEARING);
    assertEquals(lrp1.getDistanceToNext(), EXPECTED_DNP);
}