XMLDecoder decoder = new XMLDecoder(this.getClass()
.getResourceAsStream("/xml/MockOwner.xml"), map);
String actualValue = (String) decoder.readObject();
assertEquals(expectedValue, actualValue);
MockOwnerClass mock = new MockOwnerClass();
expectedValue = "I_Ljava.lang.String";
decoder = new XMLDecoder(this.getClass().getResourceAsStream(
"/xml/MockOwner_Specific.xml"), mock);
actualValue = (String) decoder.readObject();
assertEquals(expectedValue, actualValue);