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

  ApplicationSubmissionContextInfo context =
      new ApplicationSubmissionContextInfo();
  context.setApplicationId("Application_wrong_id");
  Response response = interceptor.submitApplication(context, null);
  Assert.assertEquals(BAD_REQUEST, response.getStatus());
}