.getDiagnostics(diagnosticRequest);
// it is strange : why one empty string ?
assertEquals(1, diagnosticResponse.getDiagnosticsCount());
assertEquals("", diagnosticResponse.getDiagnostics(0));
GetCountersRequest counterRequest = recordFactory
.newRecordInstance(GetCountersRequest.class);
counterRequest.setJobId(job.getID());
GetCountersResponse counterResponse = protocol.getCounters(counterRequest);
assertNotNull(counterResponse.getCounters().getCounterGroup("org.apache.hadoop.mapreduce.JobCounter"));
// test getJobReport
GetJobReportRequest reportRequest = recordFactory
.newRecordInstance(GetJobReportRequest.class);