Hystrix { public static HystrixCommandKey getCurrentThreadExecutingCommand() { if (currentCommand == null) { return null; } return currentCommand.get().peek(); }  static void reset(); static void reset(long time, TimeUnit unit); static HystrixCommandKey getCurrentThreadExecutingCommand();  }
@Test public void testNotInThread() { assertNull(Hystrix.getCurrentThreadExecutingCommand()); }