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