@Test
public void testUnknownAppInRM() throws Exception {

  MRClientProtocol historyServerProxy = mock(MRClientProtocol.class);
  when(historyServerProxy.getJobReport(getJobReportRequest())).thenReturn(
      getJobReportResponse());
  ClientServiceDelegate clientServiceDelegate = getClientServiceDelegate(
      historyServerProxy, getRMDelegate());
  JobStatus jobStatus = clientServiceDelegate.getJobStatus(oldJobId);
  Assert.assertNotNull(jobStatus);
}