@Test(expected = QuickLinksProfileEvaluationException.class)
  public void testProfileMustContainAtLeastOneFilter() throws Exception {
    Component component = Component.create("NAMENODE", null);
    Service service = Service.create(HDFS, null, ImmutableList.of(component));
    QuickLinksProfile profile = QuickLinksProfile.create(null, ImmutableList.of(service));
    QuickLinkVisibilityController evaluator = new DefaultQuickLinkVisibilityController(profile);
  }
Quicklinks profile must contain at least one filter (can be on any level: global/component/service), otherwise
an exception is thrown.
ambari-server/src/test/java/org/apache/ambari/server/state/quicklinksprofile/QuickLinkVisibilityControllerTest.java