### Question:
ApplicationManager { @VisibleForTesting static boolean match(Set<SearchFilter> filters, Application app) { for (SearchFilter filter : filters) { if (Application.NAME_ATTRIBUTE.equals(filter.getName())) { if (!StringUtils.match(app.getName(), filter.getValue())) { return false; } } else if (Application.DESCRIPTION_ATTRIBUTE.equals(filter.getName())) { if (!StringUtils.match(app.getDescription(), filter.getValue())) { return false; } } else if (Application.CREATED_BY_ATTRIBUTE.equals(filter.getName())) { if (!StringUtils.match(app.getCreatedBy(), filter.getValue())) { return false; } } else if (Application.LAST_MODIFIED_BY_ATTRIBUTE.equals(filter.getName())) { if (!StringUtils.match(app.getLastModifiedBy(), filter.getValue())) { return false; } } else if (Application.CREATION_DATE_ATTRIBUTE.equals(filter.getName())) { if (!match(app.getCreationDate(), filter.getNumericValue(), filter.getOperator())) { return false; } } else if (Application.LAST_MODIFIED_DATE_ATTRIBUTE.equals(filter.getName())){ if (!match(app.getLastModifiedDate(), filter.getNumericValue(), filter.getOperator())) { return false; } } } return true; } private  ApplicationManager(); static Set<String> search(Subject adminSubject, String realm, Set<SearchFilter> filters); static Set<String> getApplicationNames(
        Subject adminSubject,
        String realm
    ); static Set<Application> getApplications(Subject adminSubject,
        String realm); static Application getApplicationForEvaluation(
        String realm,
        String name
    ); static Application getApplication(
        Subject adminSubject,
        String realm,
        String name
    ); static void deleteApplication(
        Subject adminSubject,
        String realm,
        String name
    ); static void saveApplication(
            Subject adminSubject,
            String realm,
            Application application
    ); static void clearCache(String realm); static Set<String> getReferredResources(
        Subject adminSubject,
        String realm,
        String applicationTypeName
    ); static Application newApplication(String name, ApplicationType applicationType); static void updateApplication(Application oldApplication, Application newApplication, Subject subject,
                                            String realm);  }### Answer:
@Test(dataProvider = "testMatchData") public void testMatch(Set<SearchFilter> searchFilters, Application application, boolean expectedMatchResult) { assertThat(ApplicationManager.match(searchFilters, application)).isEqualTo(expectedMatchResult); }