DatabaseResults results = (DatabaseResults) createMock(DatabaseResults.class);
String value = "NotASerializedObject";
expect(results.getBlobStream(COLUMN)).andReturn(new ByteArrayInputStream(value.getBytes()));
replay(results);
DerbyEmbeddedDatabaseType type = new DerbyEmbeddedDatabaseType();
FieldConverter converter = type.getFieldConverter(DataType.SERIALIZABLE.getDataPersister(), null);
Object obj = converter.resultToJava(null, results, COLUMN);
verify(results);
assertEquals(value, obj);
}