}
@Test
public void testFieldFilterAlwaysIncludesForceJPAFieldFilter() {
ForceJPAClassGenerator generator = new ForceJPAClassGenerator();
generator.setFieldFilter(new FieldNoOpFilter());
FieldFilter fieldFilter = generator.getFieldFilter();
assertNotNull(fieldFilter, "ForceJPAClassGenerator fieldFilter should never be null");
assertEquals(fieldFilter.getClass(), FieldCombinationFilter.class,
"ForceJPAClassGenerator should use a FieldCombinationFilter when a caller sets a field filter");