@Test
public final void testDecodingWithLRDB() {

    OpenLRDecoder decoder = new OpenLRDecoder();
    // empty location database
    LocationDatabase db = LocationDatabaseFactory
            .createLocationDatabase(2);
    OpenLRDecoderParameter parameter = new OpenLRDecoderParameter.Builder()
            .with(mockedMapDB)
            .with(td.getProperties()).with(db).buildParameter();
    try {
        Location result = decoder.decodeRaw(parameter,
                td.getWhitepaperGeoCoordinateLocation());
        assertTrue(result.isValid());
    } catch (Exception e) {
        fail("Unexpected exception!", e);
    }
}