@Test
  public void testStackServiceDescriptor() throws Exception {
    JsonSchema schema = getJsonSchemaFromPath("kerberos_descriptor_schema.json");
    Assert.assertTrue(visitFile(schema, stacksDirectory, true));
  }
KerberosDescriptorTest tests the stack- and service-level descriptors for certain stacks
and services
ambari-server/src/test/java/org/apache/ambari/server/stack/KerberosDescriptorTest.java