@Test
    public void testDynamicLoadDisabled() throws Exception {
        SingleClassLoaderSofaSerializerFactory factory = new SingleClassLoaderSofaSerializerFactory();
        Field field = SingleClassLoaderSofaSerializerFactory.class.getDeclaredField("_typeNotFoundMap");
        field.setAccessible(true);
        Map<ClassLoader, Map<String, Object>> _typeNotFoundMap = (Map<ClassLoader, Map<String, Object>>) field
            .get(factory);
        Assert.assertEquals(0, _typeNotFoundMap.size());
        Deserializer deserializer = factory.getDeserializer("mock.xxx.MockObject");
        Assert.assertNull(deserializer);
        Assert.assertEquals(1, _typeNotFoundMap.size());
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
codec/codec-sofa-hessian/src/test/java/com/alipay/sofa/rpc/codec/sofahessian/SingleClassLoaderSofaSerializerFactoryTest.java