assertTrue(where.toString().contains("empty where clause"));
String value = "bar";
FieldType numberFieldType =
FieldType.createFieldType(connectionSource, "foo", Foo.class.getDeclaredField(Foo.VAL_COLUMN_NAME),
Foo.class);
SimpleComparison eq =
new SimpleComparison(Foo.VAL_COLUMN_NAME, numberFieldType, value, SimpleComparison.EQUAL_TO_OPERATION);
where.eq(Foo.VAL_COLUMN_NAME, value);
assertTrue(where.toString().contains(eq.toString()));
}