ClusterResourceDefinition extends BaseResourceDefinition { @Override public String getSingularName() { return "cluster"; } ClusterResourceDefinition(); @Override String getPluralName(); @Override String getSingularName(); @Override Renderer getRenderer(String name); @Override Set<SubResourceDefinition> getSubResourceDefinitions(); @Override Collection<String> getUpdateDirectives();  }
@Test public void testGetSingularName() { assertEquals("cluster", new ClusterResourceDefinition().getSingularName()); }