@BeforeClass
public static void setup() throws IOException{
Map<String,Object> map = Factory.Registry.INSTANCE.getExtensionToFactoryMap();
map.put("simTL4J", new SimTL4JResourceFactory());
map.put("xmi", new XMIResourceFactoryImpl());
map.put("ecore", new XMIResourceFactoryImpl());
EPackage.Registry.INSTANCE.put("http://www.emftext.org/java/", JavaPackage.eINSTANCE);