@Test
  public void testLinkAttributeFiltersWorkWithNullAttributes() throws Exception {
    List<Filter> filters = Lists.newArrayList(
        acceptAllFilter(true),
        linkAttributeFilter(AUTHENTICATED, false),
        linkAttributeFilter(SSO, false));
    FilterEvaluator evaluator = new FilterEvaluator(filters);
    assertEquals(Optional.of(true), evaluator.isVisible(nameNodeJmx));
  }
Link attribute filters work with links with null attributes. (No NPE is thrown)
ambari-server/src/test/java/org/apache/ambari/server/state/quicklinksprofile/FilterEvaluatorTest.java