refactor AnnotationBasedMappingResolverTest.java