@Test
public void testCompareToEqualDefinitionsChildId() {

    DefinitionsChildId policyTemplate = new PolicyTemplateId("http://example.org/tosca/policyTemplates", "myPolicyTemplate", false);
    DefinitionsChildId secondPolicyTemplate = new PolicyTemplateId("http://example.org/tosca/policyTemplates", "myPolicyTemplate", false);
    assertEquals(0, policyTemplate.compareTo(secondPolicyTemplate));
}