protected void setUp() throws Exception {
super.setUp();
assemblyFactory = new SystemAssemblyFactoryImpl();
resourceLoader = new ResourceLoaderImpl(getClass().getClassLoader());
loaderContext = new LoaderContext(resourceLoader);
modelContext = new AssemblyContextImpl(assemblyFactory, null, resourceLoader);
xmlFactory = XMLInputFactory.newInstance();
registry = new StAXLoaderRegistryImpl();
registry.setMonitor(org.apache.tuscany.databinding.sdo.LoaderTestSupport.NULL_MONITOR);
}