* @throws Exception
*/
public void testDictionaryAnnotatorInvalidOutputType() throws Exception {
// create annotation tester with the dictionary annotator specifier
AnnotatorTester annotTester = new AnnotatorTester(
JUnitExtension
.getFile("DictionaryAnnotatorTests/DictionaryAnnotatorInvalidOutputType.xml"));
boolean foundMessage = false;
try {
annotTester.performTest("Dummy text", "en");
} catch (DictionaryAnnotatorProcessException ex) {
String message = ex.getMessage();
if (message.indexOf("org.apache.uima.DictionaryEntry") > -1) {
foundMessage = true;
}