@Test
public void testActivitiExceptionBadRequest() throws Exception
{

    // Test out both ActivitiClassLoadingException and ELException.
    validateErrorInformation(exceptionHandler
        .handleActivitiException(new ActivitiClassLoadingException(ActivitiClassLoadingException.class.getName(), new RuntimeException(MESSAGE)),
            new MockHttpServletResponse()), HttpStatus.BAD_REQUEST, false);
    validateErrorInformation(exceptionHandler.handleActivitiException(new ELException(MESSAGE), new MockHttpServletResponse()), HttpStatus.BAD_REQUEST);
}