}
public static void testModel(String ediMessageFile, InputStream mappingModelStream, String factoryClassName, boolean dump, Class callerClass) throws IOException, SAXException, IllegalNameException {
Archive archive = null;
try {
archive = buildModelArchive(mappingModelStream, ORG_SMOOKS_EJC_TEST);
} catch (ClassNotFoundException e) {
e.printStackTrace();
throw new IllegalStateException("Exception building model archive: " + e.getMessage());