### Question:
ViewExternalSubResourceDefinition extends BaseResourceDefinition { @Override public String getPluralName() { return "resources"; } ViewExternalSubResourceDefinition(Resource.Type type); @Override String getPluralName(); @Override String getSingularName(); @Override Set<SubResourceDefinition> getSubResourceDefinitions();  }### Answer:
@Test public void testGetPluralName() throws Exception { Resource.Type type = new Resource.Type("resource"); ViewExternalSubResourceDefinition definition = new ViewExternalSubResourceDefinition(type); Assert.assertEquals("resources", definition.getPluralName()); }