@Test
    public void testMDCDoesntGetValuesFromChildThread() throws Exception {
        mdc.put("parentKey", "parentValue");
        runAndWait(() -> mdc.put("childKey", "childValue"));
        assertEquals("parentValue", mdc.get("parentKey"));
        assertNull(mdc.get("childKey"));
    }
Tests for {@link BasicMDCAdapter}

@author Lukasz Cwik
slf4j-api/src/test/java/org/slf4j/helpers/MDCAdapterTestBase.java