@Test
public void testGetApplicationEmptyRequest()
    throws YarnException, IOException, InterruptedException {

  LOG.info(
      "Test FederationClientInterceptor: Get Application Report - Empty");
  try {
    interceptor.getApplicationReport(null);
    Assert.fail();
  } catch (YarnException e) {
    Assert.assertTrue(
        e.getMessage().startsWith("Missing getApplicationReport request or "
            + "applicationId information."));
  }
  try {
    interceptor
        .getApplicationReport(GetApplicationReportRequest.newInstance(null));
    Assert.fail();
  } catch (YarnException e) {
    Assert.assertTrue(
        e.getMessage().startsWith("Missing getApplicationReport request or "
            + "applicationId information."));
  }
}