CredentialResourceDefinition extends BaseResourceDefinition { @Override public String getSingularName() { return "credential"; } CredentialResourceDefinition(); @Override String getPluralName(); @Override String getSingularName();  }
@Test public void testGetSingularName() throws Exception { CredentialResourceDefinition definition = new CredentialResourceDefinition(); Assert.assertEquals("credential", definition.getSingularName()); }