@@ -0,0 +1,959 @@
+package org.onetwo.common.spring.utils;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Aimport org.junit.Test;%0Aimport org.onetwo.common.apiclient.annotation.RestApiClient;%0Aimport org.springframework.core.annotation.AnnotatedElementUtils;%0Aimport org.springframework.core.annotation.AnnotationAttributes;%0Aimport org.springframework.core.annotation.AnnotationUtils;%0A%0A/**%0A * @author wayshall%0A * %3Cbr/%3E%0A */%0Apublic class AnnotatedElementUtilsTest %7B%0A%09%0A%09@Test%0A%09public void test()%7B%0A%09%09//RestApiClient%E9%9C%80%E8%A6%81%E5%8A%A0@Inherited%0A%09%09AnnotationAttributes annoAttr = AnnotatedElementUtils.getMergedAnnotationAttributes(SubTestClass.class, RestApiClient.class);%0A%09%09assertThat(annoAttr).isNull();%0A%0A%09%09//%E4%B8%8D%E9%9C%80%E8%A6%81%E5%8A%A0@Inherited%0A%09%09RestApiClient anno = AnnotationUtils.findAnnotation(SubTestClass.class, RestApiClient.class);%0A%09%09assertThat(anno).isNotNull();%0A%09%7D%0A%09%0A%09@RestApiClient%0A%09public static class ParentTestClass %7B%0A%09%09%0A%09%7D%0A%09public static class SubTestClass extends ParentTestClass %7B%0A%09%09%0A%09%7D%0A%0A%7D%0A

add annotationUtils test