public class CategorizationJsonDigesterTest extends TestCase {
public void testParseAlchemyXML() {
try {
JsonTextCategorizationDigester digester = new JsonTextCategorizationDigester();
Results results = digester.parseAlchemyXML(this.getClass().getResourceAsStream(
"/jsonCategorizationResult.js"));
assertTrue(results != null);
} catch (Exception e) {
e.printStackTrace();
fail();