Skip to content

Commit a670a7d

Browse files
committed
Update AnnotationUtilsTest.java
1 parent 37b6434 commit a670a7d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

microsphere-java-core/src/test/java/io/microsphere/util/AnnotationUtilsTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,22 +305,22 @@ public void testGetAllDeclaredAnnotationsNoNull() {
305305

306306
@Test
307307
public void testGetDeclaredAnnotations() {
308-
List<Annotation> annotations = getAllDeclaredAnnotations(A.class);
308+
List<Annotation> annotations = getDeclaredAnnotations(A.class);
309309
assertEquals(1, annotations.size());
310310
assertEquals(DataAccess.class, annotations.get(0).annotationType());
311311
}
312312

313313
@Test
314314
public void testGetDeclaredAnnotationsOnInheritedClass() {
315-
List<Annotation> annotations = findDeclaredAnnotations(B.class);
315+
List<Annotation> annotations = getDeclaredAnnotations(B.class);
316316
assertEquals(2, annotations.size());
317317
assertEquals(DataAccess.class, annotations.get(0).annotationType());
318318
assertEquals(Since.class, annotations.get(1).annotationType());
319319
}
320320

321321
@Test
322322
public void testGetDeclaredAnnotationsOnAnnotation() {
323-
List<Annotation> annotations = getAllDeclaredAnnotations(DataAccess.class);
323+
List<Annotation> annotations = getDeclaredAnnotations(DataAccess.class);
324324
assertEquals(4, annotations.size());
325325
assertEquals(Inherited.class, annotations.get(0).annotationType());
326326
assertEquals(Target.class, annotations.get(1).annotationType());

0 commit comments

Comments
 (0)