Collections.<Import>emptyList(),
Collections.<ThrowsDeclaration>emptyList(),
Collections.<Parameter>emptyList(),
Collections.<FormalTypeParameter>emptyList(),
collapse(input, null, null));
BoundTree inTree = new BoundTree(pos(), AlertSet.EMPTY, root,
Collections.<Callable>emptySet());
SpaceCollapsedTree outTree = COLLAPSER.apply(inTree);
Root newRoot = outTree.getRoot();
assertTrue(newRoot + " is not a Template",
newRoot instanceof Template);