private static final Link link(String name, String componentName, List<String> attributes) {
    Link link = new Link();
    link.setName(name);
    link.setComponentName(componentName);
    link.setAttributes(attributes);
    return link;
  }
Test to prove that the link is hidden if no filters apply.
ambari-server/src/test/java/org/apache/ambari/server/state/quicklinksprofile/QuickLinkVisibilityControllerTest.java