UserResourceDefinition extends BaseResourceDefinition { @Override public String getSingularName() { return "user"; } UserResourceDefinition(); @Override String getPluralName(); @Override String getSingularName(); @Override Set<SubResourceDefinition> getSubResourceDefinitions();  }
@Test public void testGetSingularName() throws Exception { final UserResourceDefinition userResourceDefinition = new UserResourceDefinition(); Assert.assertEquals("user", userResourceDefinition.getSingularName()); }