Field customField = new Field();
customField.setName("CustomField__c");
customField.setType(FieldType.string);
// Object with all fields common to Force.com standard objects
DescribeSObjectResult dsr =
createDescribeSObjectResult("testSelectStandardObjectWithAllCommonFields", idField, nameField,
deletedField, ownerField, createdByIdField, createdDateField, lastModifiedByIdField,
lastModifiedDateField, systemModstampField, customField);
dsr.setCustom(false);
List<Field> filteredFields = new ForceJPAFieldFilter().filter(dsr);
assertFilteredFields(filteredFields,
Lists.newArrayList("IsDeleted", "CreatedById", "LastModifiedById", "CustomField__c"));
}