TaskAttemptResourceDefinition extends BaseResourceDefinition { @Override public String getPluralName() { return "taskattempts"; } TaskAttemptResourceDefinition(); @Override String getPluralName(); @Override String getSingularName();  }
@Test public void testGetPluralName() throws Exception { TaskAttemptResourceDefinition definition = new TaskAttemptResourceDefinition(); Assert.assertEquals("taskattempts", definition.getPluralName()); }