@Test
public void testGetSingularName() throws Exception {

  Resource.Type type = new Resource.Type("resource");
  ViewExternalSubResourceDefinition definition = new ViewExternalSubResourceDefinition(type);
  Assert.assertEquals("resource", definition.getSingularName());
}