@Test
    public void putMethodCache() throws NoSuchMethodException {
        Method hashCode1 = String.class.getMethod("hashCode");
        Method hashCode2 = Object.class.getMethod("hashCode");
        ReflectCache.putMethodCache("service", hashCode1);
        Assert.assertSame(hashCode1, ReflectCache.getMethodCache("service", "hashCode"));

        ReflectCache.putMethodCache("service", hashCode2);
        Assert.assertSame(hashCode2, ReflectCache.getMethodCache("service", "hashCode"));
    }
@author <a href=mailto:orezsilence@163.com>zhangchengxi</a>
core/common/src/test/java/com/alipay/sofa/rpc/common/cache/ReflectCacheTest.java