LdapSyncEventResourceDefinition extends BaseResourceDefinition { @Override public Set<SubResourceDefinition> getSubResourceDefinitions() { return Collections.emptySet(); } LdapSyncEventResourceDefinition(); @Override String getPluralName(); @Override String getSingularName(); @Override Set<SubResourceDefinition> getSubResourceDefinitions();  }
@Test public void testGetSubResourceDefinitions() throws Exception { LdapSyncEventResourceDefinition resourceDefinition = new LdapSyncEventResourceDefinition(); Set<SubResourceDefinition> subResourceDefinitions = resourceDefinition.getSubResourceDefinitions (); Assert.assertEquals(0, subResourceDefinitions.size()); }