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