ViewInstanceResourceDefinition extends BaseResourceDefinition { @Override public String getPluralName() { return "instances"; } ViewInstanceResourceDefinition(Set<SubResourceDefinition> subResourceDefinitions); @Override String getPluralName(); @Override String getSingularName(); @Override Set<SubResourceDefinition> getSubResourceDefinitions();  }
@Test public void testGetPluralName() throws Exception { ViewInstanceResourceDefinition viewInstanceResourceDefinition = getViewInstanceResourceDefinition(); Assert.assertEquals("instances", viewInstanceResourceDefinition.getPluralName()); }