@Test
public void testNotWrappedBadRequestWithNoFallback() {

    TestHystrixCommand<Integer> command = getCommand(ExecutionIsolationStrategy.THREAD, AbstractTestHystrixCommand.ExecutionResult.BAD_REQUEST_NOT_WRAPPED, AbstractTestHystrixCommand.FallbackResult.UNIMPLEMENTED);
    try {
        command.execute();
        fail("we shouldn't get here");
    } catch (HystrixRuntimeException e) {
        e.printStackTrace();
        fail("we shouldn't get a HystrixRuntimeException");
    } catch (RuntimeException e) {
        assertTrue(e instanceof NotWrappedByHystrixTestRuntimeException);
    }
    assertTrue(command.getExecutionTimeInMilliseconds() > -1);
    assertTrue(command.getEventCounts().contains(HystrixEventType.BAD_REQUEST));
    assertCommandExecutionEvents(command, HystrixEventType.BAD_REQUEST);
    assertNotNull(command.getExecutionException());
    assertTrue(command.getExecutionException() instanceof HystrixBadRequestException);
    assertTrue(command.getExecutionException().getCause() instanceof NotWrappedByHystrixTestRuntimeException);
    assertEquals(0, command.getBuilder().metrics.getCurrentConcurrentExecutionCount());
    assertSaneHystrixRequestLog(1);
}