@Test
    @SuppressWarnings("PMD.JUnitTestsShouldIncludeAssert") // is done in called test method
    public void contains() {
        testSingle(c -> c.setName("Testname"), f -> f.getStringFilter().setTextValue("est"), true);
        testSingle(c -> c.setName("Testname"), f -> f.getStringFilter().setTextValue("eFst"), false);
    }
This class tests the string filters, using NAME filter as an example
main/src/androidTest/java/cgeo/geocaching/filters/StringGeocacheFilterTest.java