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

  LOG.info(
      "Test FederationClientInterceptor: Force Kill Application - Empty");
  try {
    interceptor.forceKillApplication(null);
    Assert.fail();
  } catch (YarnException e) {
    Assert.assertTrue(e.getMessage().startsWith(
        "Missing forceKillApplication request or ApplicationId."));
  }
  try {
    interceptor
        .forceKillApplication(KillApplicationRequest.newInstance(null));
    Assert.fail();
  } catch (YarnException e) {
    Assert.assertTrue(e.getMessage().startsWith(
        "Missing forceKillApplication request or ApplicationId."));
  }
}