@Test
public void getAnnotationFields() {

    assertNull(ReflectionUtil.getAnnotationFields((Class<?>) null, (Class<? extends Annotation>) null));
    assertNull(ReflectionUtil.getAnnotationFields((Class<?>) null, AnnotationClass.Test.class));
    assertNull(ReflectionUtil.getAnnotationFields(AnnotationClass.class, (Class<? extends Annotation>) null));
    Field[] fields = ReflectionUtil.getAnnotationFields(AnnotationClass.class, AnnotationClass.Test.class);
    assertTrue(fields.length == 2);
    fields = ReflectionUtil.getAnnotationFields(AnnotationClass.class, Test.class);
    assertTrue(ObjectUtil.isEmpty(fields));
}