@Override
public void setUp() throws Exception {
ModelFactoryExtensionPoint factories = new DefaultModelFactoryExtensionPoint();
assemblyFactory = new DefaultAssemblyFactory();
factories.addFactory(assemblyFactory);
scaBindingFactory = new SCABindingFactoryImpl();
factories.addFactory(scaBindingFactory);
policyFactory = new DefaultPolicyFactory();
factories.addFactory(policyFactory);
mapper = new InterfaceContractMapperImpl();
inputFactory = XMLInputFactory.newInstance();
staxProcessors = new DefaultStAXArtifactProcessorExtensionPoint(factories);
staxProcessor = new ExtensibleStAXArtifactProcessor(staxProcessors, XMLInputFactory.newInstance(), XMLOutputFactory.newInstance());
SCABindingFactory scaFactory = new SCABindingFactoryImpl();
factories.addFactory(scaFactory);
SCABindingProcessor wsdlProcessor = new SCABindingProcessor(factories);
staxProcessors.addArtifactProcessor(wsdlProcessor);
}