FieldType fieldType =
FieldType.createFieldType(connectionSource, SerializableField.class.getSimpleName(), field,
SerializableField.class);
DatabaseResults results = createMock(DatabaseResults.class);
int fieldNum = 1;
expect(results.findColumn(field.getName())).andReturn(fieldNum);
expect(results.getTimestamp(fieldNum)).andReturn(null);
expect(results.wasNull(fieldNum)).andReturn(true);
replay(results);
assertNull(fieldType.resultToJava(results, new HashMap<String, Integer>()));
verify(results);