public final void testRun() throws BadLocationException {
String original =
Strings.generateRandomString(random.nextInt(10000), random);
PasstroughTokenAction action = new PasstroughTokenAction(null);
assertNotNull(action);
Reader input = new StringReader(original);
StringWriter output = new StringWriter();
action.run(input, output);
assertEquals(original, output.toString());
PlainDocument doc = new PlainDocument();
doc.insertString(0, original, null);
input = new DocumentReader(doc);
output = new StringWriter();
action.run(input, output);
assertEquals(original, output.toString());
}