@Test
    public void testGenerateCommandKey() {
        for (Method method : TestCase.class.getMethods()) {
            if (method.isAnnotationPresent(HystrixCommandKey.class)) {
                HystrixCommandKey annotation = method.getAnnotation(HystrixCommandKey.class);
                Assert.assertEquals(annotation.value(), DefaultSetterFactory.generateCommandKey("TestCase", method));
            }
        }
    }
@author <a href=mailto:scienjus@gmail.com>ScienJus</a>
fault/fault-hystrix/src/test/java/com/alipay/sofa/rpc/hystrix/DefaultSetterFactoryTest.java