@Test
    public void testGetCopyOfContextMapFromMDC() {
        mdc.put("testKey", "testValue");
        Map<String, String> copy = mdc.getCopyOfContextMap();
        mdc.put("anotherTestKey", "anotherTestValue");
        assertFalse(copy.size() == mdc.getCopyOfContextMap().size());
    }
Tests for {@link BasicMDCAdapter}

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