@Test public void childThreadStepsTest() throws Exception { final Step last = stepStorage.getLast(); Thread thread = new Thread(new Runnable() { @Override public void run() { assertTrue(last == stepStorage.getLast()); } }); thread.start(); thread.join(); }
public Step getLast() { return get().getLast(); }
StepStorage extends InheritableThreadLocal<Deque<Step>> { public Step getLast() { return get().getLast(); } }
StepStorage extends InheritableThreadLocal<Deque<Step>> { public Step getLast() { return get().getLast(); }  }
StepStorage extends InheritableThreadLocal<Deque<Step>> { public Step getLast() { return get().getLast(); }  Step getLast(); void put(Step step); Step pollLast(); Step adopt(); Step createRootStep(); }
StepStorage extends InheritableThreadLocal<Deque<Step>> { public Step getLast() { return get().getLast(); }  Step getLast(); void put(Step step); Step pollLast(); Step adopt(); Step createRootStep(); static final Object LOCK; }