@Test
public final void testInvalidLocation() {

    OpenLRXMLDecoder dec = new OpenLRXMLDecoder();
    try {
        LocationReference lr = new LocationReferenceXmlImpl("", invalidXML, 1);
        dec.decodeData(lr);
        fail("exception expected");
    } catch (PhysicalFormatException e) {
        assertNotNull(e);
    }
}