TmlProcessor { public static Collection<Object> load(String path) throws TeslaSchemaException, IOException { File file = new File(path); TmlGraph graph = new TmlGraph(file); preprocess(graph, file); return getAllUserTypes(graph, file); }  static Collection<Object> load(String path); static void save(Schema schema, OutputStream os); static void save(List<Object> userTypes, OutputStream os,
			String versionName, int versionNumber); static Tml unmarshalTml(String path); static long getSchemaHash(String filename); static Schema build(String path); static Schema build(Collection<Object> types, SchemaVersion ver);  }
@Test public void invalidTml() throws Exception { thrown.expect(TeslaSchemaException.class); thrown.expectMessage("Invalid TML"); TmlProcessor.load("src/test/resources/invalid.tml"); }