Bean<?> simpleExtensionBean = beans.iterator().next();
// Bean scope is @ApplicationScoped
assertEquals(simpleExtensionBean.getScope(), ApplicationScoped.class);
// Bean has two qualifiers @Default and @Any
assertEquals(simpleExtensionBean.getQualifiers().size(), 2);
assertTrue(simpleExtensionBean.getQualifiers().contains(new DefaultLiteral()));
assertTrue(simpleExtensionBean.getQualifiers().contains(AnyLiteral.INSTANCE));
// Bean types include the class of the service provider and all superclases and interfaces
Set<Type> types = simpleExtensionBean.getTypes();
assertEquals(types.size(), 4);
assertTrue(types.contains(SuperExtension.class));