### Question:
ForceJPAClassGenerator extends AbstractCodeGenerator { @Override public final FieldFilter getFieldFilter() { if (fieldFilter != null) { return new FieldCombinationFilter() .addFilter(fieldFilter) .addFilter(new ForceJPAFieldFilter()); } return new ForceJPAFieldFilter(); }  void setPackageName(String packageName); @Override final ObjectFilter getObjectFilter(); final void setObjectFilter(ObjectFilter objectFilter); @Override final FieldFilter getFieldFilter(); final void setFieldFilter(FieldFilter fieldFilter);  }### Answer:
@Test public void testFieldFilterDefaultsToForceJPAFieldFilter() { ForceJPAClassGenerator generator = new ForceJPAClassGenerator(); FieldFilter fieldFilter = generator.getFieldFilter(); assertNotNull(fieldFilter, "ForceJPAClassGenerator fieldFilter should default when not specified"); assertEquals(fieldFilter.getClass(), ForceJPAFieldFilter.class, "ForceJPAClassGenerator fieldFilter should default to ForceJPAFieldFilter"); }