private void validate(ServiceResponse response) throws JAXBException { AssertUtil.assertFailed(response); Assert.assertTrue( response .getMessage() .contains( "org.apache.falcon.FalconException: AUTHENTICATION : E1004 :" + " E1004: Expression language evaluation error, Unable to evaluate :${coord:someEL(1)"), "Correct response was not present in process / feed schedule"); }
private void validate(ServiceResponse response, String message) throws JAXBException { AssertUtil.assertFailed(response); Assert.assertTrue( response.getMessage().contains(message), "Correct response was not present in process / feed schedule"); }