@Test
public void testGetPluralName() throws Exception {

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