.getFeatures(andFilter);
FeatureIterator<Feature> iterator = filteredResults.features();
assertTrue(filteredResults instanceof MappingFeatureCollection);
MappingFeatureCollection mfc = ((MappingFeatureCollection) filteredResults);
Filter afterSplit = mfc.getQuery().getFilter();
// this tests that after the split, only he LikeFilterImpl exist on the query as a pre
// filter
assertTrue(afterSplit instanceof org.geotools.filter.LikeFilterImpl);
// Below ensures that the right filter exist on the query for pre processing on the
// database. The LikeFilter with the nested attribute should be post processed as at that