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