Also, you should test getAnnotatedType() and setAnnotatedType() separately