public static <T extends BaseGeocacheFilter> boolean testSingleLogic(final GeocacheFilterType type, final Action1<Geocache> cacheSetter, final Action1<T> filterSetter, final Boolean expectedResult) {
        final Pair<Geocache, T> data = prepareData(type, cacheSetter, filterSetter);
        return testSingleLogic(data.first, data.second, expectedResult);
    }
Standard method. Tests for a given cache and filter whether it is correctly filtered via logic AND DB!
main/src/androidTest/java/cgeo/geocaching/filters/GeocacheFilterTestUtils.java