@Test
    public void putOverloadMethodCache() throws NoSuchMethodException {
        Method hashCode1 = String.class.getMethod("hashCode");
        Method hashCode2 = Object.class.getMethod("hashCode");
        ReflectCache.putOverloadMethodCache("service", hashCode1);
        Assert.assertSame(hashCode1, ReflectCache.getOverloadMethodCache("service", "hashCode", new String[] {}));

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