foo.name = nameArg + " not that";
assertEquals(nameArg, fieldType.extractJavaFieldToSqlArgValue(foo));
DatabaseResults resultMock = createMock(DatabaseResults.class);
expect(resultMock.findColumn("name")).andReturn(0);
expect(resultMock.wasNull(0)).andReturn(false);
replay(resultMock);
assertEquals(nameResult, fieldType.resultToJava(resultMock, new HashMap<String, Integer>()));
verify(resultMock);
assertTrue(resultToSqlArgCalled.get());
}