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

  LOG.info("Test FederationClientInterceptor: "
      + "Force Kill Application - Not Exists");
  ApplicationId appId =
      ApplicationId.newInstance(System.currentTimeMillis(), 1);
  KillApplicationRequest requestKill =
      KillApplicationRequest.newInstance(appId);
  try {
    interceptor.forceKillApplication(requestKill);
    Assert.fail();
  } catch (YarnException e) {
    Assert.assertTrue(e.getMessage().equals(
        "Application " + appId + " does not exist in FederationStateStore"));
  }
}