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