private TestAmbariMetaInfo setupTempAmbariMetaInfo(String buildDir) throws Exception {
    setupTempAmbariMetaInfoDirs(buildDir);
    TestAmbariMetaInfo ambariMetaInfo = setupTempAmbariMetaInfoExistingDirs(buildDir);
    return ambariMetaInfo;
  }
Test scenario when service were removed and not mapped alerts need to be disabled

@throws Exception
ambari-server/src/test/java/org/apache/ambari/server/api/services/AmbariMetaInfoTest.java