BackgroundTaskThreadLocalManagerImpl implements BackgroundTaskThreadLocalManager { @Override public void deserializeThreadLocals( Map<String, Serializable> taskContextMap) { Map<String, Serializable> threadLocalValues = (Map<String, Serializable>)taskContextMap.get( KEY_THREAD_LOCAL_VALUES); setThreadLocalValues(threadLocalValues); }  @Override void deserializeThreadLocals(
		Map<String, Serializable> taskContextMap); @Override Map<String, Serializable> getThreadLocalValues(); @Override void serializeThreadLocals(
		Map<String, Serializable> taskContextMap); @Override void setThreadLocalValues(
		Map<String, Serializable> threadLocalValues);  }
@Test public void testDeserializeThreadLocals() { backgroundTaskThreadLocalManagerImpl.deserializeThreadLocals( HashMapBuilder.<String, Serializable>put( BackgroundTaskThreadLocalManagerImpl.KEY_THREAD_LOCAL_VALUES, initializeThreadLocalValues() ).build()); assertThreadLocalValues(); }