@Test
    public void testMethodSigs() {
        final String key = TestInterface.class.getCanonicalName();
        final Method method = ReflectUtils.getMethod(TestInterface.class, "invoke", SofaRequest.class);
        Assert.assertNull(ReflectCache.getMethodSigsCache(key, "invoke"));

        ReflectCache.putMethodSigsCache(key, method.getName(),
            ClassTypeUtils.getTypeStrs(method.getParameterTypes(), true));
        Assert.assertArrayEquals(new String[] { SofaRequest.class.getCanonicalName() },
            ReflectCache.getMethodSigsCache(key, "invoke"));

        ReflectCache.invalidateMethodSigsCache(key);
        Assert.assertNull(ReflectCache.NOT_OVERLOAD_METHOD_CACHE.get(key));
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/api/src/test/java/com/alipay/sofa/rpc/common/cache/ReflectCacheTest.java