RootElementDeclaration beanThreeElement = new RootElementDeclaration((ClassDeclaration) getDeclaration("org.codehaus.enunciate.samples.schema.BeanThree"), beanThree);
EnunciateConfiguration config = new EnunciateConfiguration();
final MockValidator validator = new MockValidator();
config.setValidator(validator);
config.addModule(new BasicDeploymentModule() {
@Override
public Validator getValidator() {
return validator;
}
});
config.addModule(new BasicDeploymentModule() {
public String getName() {
return "basic2";
}
@Override