Object unserializedRaw = createUnmarshaller().unmarshal( new StringReader( out.toString() ) );
assertNotNull( unserializedRaw );
assertEquals( getJaxbCollectionType(), unserializedRaw.getClass() );
JaxbCollection deserialized = getJaxbCollectionType().cast( unserializedRaw );
assertNotNull( deserialized );
verifyDeserialized( deserialized, jaxbCollection );
}