ComponentStackVersionResourceDefinition extends BaseResourceDefinition { @Override public String getSingularName() { return "stack_version"; } ComponentStackVersionResourceDefinition(Resource.Type type); @Override String getPluralName(); @Override String getSingularName(); @Override Set<SubResourceDefinition> getSubResourceDefinitions();  }
@Test public void testGetSingularName() throws Exception { final ComponentStackVersionResourceDefinition resourceDefinition = new ComponentStackVersionResourceDefinition(null); Assert.assertEquals("stack_version", resourceDefinition.getSingularName()); }