RepositoryResourceDefinition extends BaseResourceDefinition { @Override public String getPluralName() { return "repositories"; } RepositoryResourceDefinition(); @Override String getPluralName(); @Override String getSingularName(); @Override Collection<String> getCreateDirectives(); static String VALIDATE_ONLY_DIRECTIVE; }
@Test public void testGetPluralName() throws Exception { final RepositoryResourceDefinition resourceDefinition = new RepositoryResourceDefinition(); Assert.assertEquals("repositories", resourceDefinition.getPluralName()); }