foreignForeign.id = id;
foreignForeign.stuff = stuff;
expect(
connection.queryForOne(isA(String.class), isA(Object[].class), isA(FieldType[].class),
isA(GenericRowMapper.class))).andReturn(foreignForeign);
connectionSource.releaseConnection(connection);
DatabaseResults results = createMock(DatabaseResults.class);
ForeignAutoRefresh foreign = new ForeignAutoRefresh();
replay(results, connectionSource, connection);
FieldType fieldType =
FieldType.createFieldType(connectionSource, ForeignAutoRefresh.class.getSimpleName(), field,