@SuppressWarnings("unchecked")
@Test
@SpecAssertion(section = "11.3.23", id = "a")
public void testBeanAttributesForManagedBeanWithModifiedAnnotatedType() {
AnnotatedType<Mountain> type = getCurrentManager().createAnnotatedType(Mountain.class);
AnnotatedType<Mountain> wrappedType = new AnnotatedTypeWrapper<Mountain>(type, false, new NamedLiteral("Mount Blanc"));
BeanAttributes<Mountain> attributes = getCurrentManager().createBeanAttributes(wrappedType);
assertTrue(typeSetMatches(attributes.getTypes(), Mountain.class, Landmark.class, Object.class));
assertTrue(attributes.getStereotypes().isEmpty());
assertTrue(annotationSetMatches(attributes.getQualifiers(), Named.class, Any.class, Default.class));