T resourceOne = createResource(toCreateOne);
T resourceTwo = createResource(toCreateTwo);
try {
performActionVerifyTiles("unspecified");
StrutsExecutionStep executionStep = new StrutsExecutionStep(getRequestPath(), "display", getForwardPath());
executionStep.addRequestParameter("actionTarget", "filter");
executionStep.addRequestParameter("filterText", "*XYZ*");
executeStep(executionStep);
AbstractResourcesForm<R> resourcesForm = (AbstractResourcesForm<R>) getActionForm();
int filteredRowCount = resourcesForm.getPager().getFilteredRowCount();
assertEquals("Should have 2 row(s)", 2, filteredRowCount);