@Test
public void testGetReferencedIdentityDescriptor_RelativePath() throws IOException {

  URL systemResourceURL = ClassLoader.getSystemResource("kerberos/test_get_referenced_identity_descriptor.json");
  Assert.assertNotNull(systemResourceURL);
  KerberosDescriptor descriptor = KERBEROS_DESCRIPTOR_FACTORY.createInstance(new File(systemResourceURL.getFile()));
  Assert.assertNotNull(descriptor);
  KerberosServiceDescriptor serviceDescriptor = descriptor.getService("SERVICE2");
  Assert.assertNotNull(serviceDescriptor);
  KerberosComponentDescriptor componentDescriptor = serviceDescriptor.getComponent("SERVICE2_COMPONENT1");
  Assert.assertNotNull(componentDescriptor);
  KerberosIdentityDescriptor identity;
  identity = componentDescriptor.getReferencedIdentityDescriptor("../service2_identity");
  Assert.assertNotNull(identity);
  Assert.assertEquals("service2_identity", identity.getName());
  Assert.assertEquals(serviceDescriptor, identity.getParent());
  identity = serviceDescriptor.getReferencedIdentityDescriptor("../service2_identity");
  Assert.assertNull(identity);
}