Configuration configuration = builderAnnotated.buildConfiguration();
assertThat(builderAnnotated.buildConfiguration(), sameInstance(configuration));
}
private AnnotationBuilder createBuilder(Class<?> type) {
WeldBootstrap bootstrap = new WeldBootstrap();
bootstrap.initialize();
AnnotationBuilder builder = bootstrap.findAnnotationBuilder(type);
assertThat(builder, is(AnnotationBuilder.class));
return builder;
}