@Test
  public void testWithEmptyFilters() throws Exception {
    FilterEvaluator evaluator = new FilterEvaluator(new ArrayList<>());
    assertEquals(Optional.empty(), evaluator.isVisible(namenodeUi));

    FilterEvaluator evaluator2 = new FilterEvaluator(null);
    assertEquals(Optional.empty(), evaluator2.isVisible(namenodeUi));
  }
Evaluators should work when initialized with {@code null} or an empty list of filters.
ambari-server/src/test/java/org/apache/ambari/server/state/quicklinksprofile/FilterEvaluatorTest.java