@Test
public final void testLineLocationExceedingOffsets() {

    Location decLocRef;
    InputStream properties = null;
    try {
        properties = new FileInputStream(DECODER_PROPERTIES);
    } catch (IOException e) {
        fail("Error creating properties stream.", e);
    }
    try {
        OpenLRDecoder decoder = new OpenLRDecoder();
        OpenLRDecoderParameter parameter = new OpenLRDecoderParameter.Builder()
                .with(mockedMapDB)
                .with(OpenLRPropertiesReader.loadPropertiesFromStream(
                        properties, true)).buildParameter();
        decLocRef = decoder.decodeRaw(parameter,
                td.getLineLocationExceedingOffsets());
        assertTrue(decLocRef.isValid());
        assertNotNull(decLocRef.toString());
    } catch (OpenLRProcessingException e) {
        fail("Decoding location failed with exception: " + e.getErrorCode(),
                e);
    }
}