ReparentedTree output = reparent(input);
assertTrue(output.getRoot() instanceof NullRoot);
}
public void testWithAlerts() throws Exception {
Alert parseWarning = new WarningAlert(new SourcePosition("baz", 1, 2),
"test warning"){};
parseAlerts.add(parseWarning);
expectedAlerts.add(parseWarning);
ReparentedTree output = reparent(tree());