String modelStr = "<model name=\"testmodel\" namespace=\"testmodel#\"><class name=\"org.intermine.model.testmodel.Secretary\" is-interface=\"false\"><attribute name=\"name\" type=\"java.lang.String\"/></class></model>";
String modelStr = "<model name=\"testmodel\" namespace=\"testmodel#\">" + "<class name=\"org.intermine.model.testmodel.Secretary\" is-interface=\"false\">" + "<attribute name=\"name\" type=\"java.lang.String\"/>" + "</class>" + "</model>";
    public void testAddClass() throws Exception {        String modelStr = "<model name=\"testmodel\" namespace=\"testmodel#\"><class name=\"org.intermine.model.testmodel.Secretary\" is-interface=\"false\"><attribute name=\"name\" type=\"java.lang.String\"/></class></model>";        Model model = parser.process(new StringReader(modelStr));        String addition = "<class name=\"org.intermine.model.testmodel.Department\" extends=\"org.intermine.model.testmodel.RandomInterface\" is-interface=\"false\"><attribute name=\"name\" type=\"java.lang.String\"/></class>";        Set additionClds = parser.generateClassDescriptors(new StringReader(addition));        String expected = "<model name=\"testmodel\" namespace=\"testmodel#\"><class name=\"org.intermine.model.testmodel.Secretary\" is-interface=\"false\"><attribute name=\"name\" type=\"java.lang.String\"/></class><class name=\"org.intermine.model.testmodel.Department\" extends=\"org.intermine.model.testmodel.RandomInterface\" is-interface=\"false\"><attribute name=\"name\" type=\"java.lang.String\"/></class></model>";        //assertXMLEqual(expected, ModelMerger.mergeModel(model, additionClds).toString());    }