### Question:
StepStorage extends InheritableThreadLocal<Deque<Step>> { public void put(Step step) { synchronized (LOCK) { get().add(step); } }  Step getLast(); void put(Step step); Step pollLast(); Step adopt(); Step createRootStep(); static final Object LOCK; }### Answer:
@Test public void putTest() throws Exception { Step step = new Step(); stepStorage.put(step); assertTrue(step == stepStorage.getLast()); }