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