super.setUp();
ResourceSet resourceSet = new ResourceSetImpl();
resourceSet.getResourceFactoryRegistry()
.getExtensionToFactoryMap()
.put("library", new ResourceFactoryImpl());
Resource resource = resourceSet.createResource(URI.createURI("test.library"));
// create a library with three books and two writers
fixture = LibraryFactory.eINSTANCE.createLibrary();
fixture.setName("Test Library");