@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));
        }
    }
}