### Question:
TeX2MathML { public static String TeX2MML(String tex) throws XPathExpressionException, ParserConfigurationException, SAXException, IOException, TransformerException { final String XPath = " String mml = ""; return json2xml(tex2json(tex))[2]; }  static String TeX2MML(String tex);  }### Answer:
@Test public void testTeX2MML() throws Exception { try { String MML = TeX2MathML.TeX2MML("E=mc^2"); assertTrue(MML.contains("</math>")); } catch (UnknownHostException u) { } }