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