}
@Test
public void testMatterLookup() {
//adapted from org.kuali.rice.kns.service.LookupServiceTest
LookupService lookupService = KRADServiceLocatorWeb.getLookupService();
@SuppressWarnings("rawtypes")
Map formProps = new HashMap();
@SuppressWarnings("unchecked")
// includes any land cases
Collection<Matter> matter = lookupService.findCollectionBySearchHelper(getDataObjectClass(), formProps, false);
assertEquals("number of matters differs", getExpectedLookupCount(), matter.size());
}