// setComments causes a warning about generic array for varargs
public final void testImmutability() throws Exception {
Block n = new Block(
FilePosition.UNKNOWN,
Arrays.asList(
new ExpressionStmt(new IntegerLiteral(FilePosition.UNKNOWN, 42)),
new ExpressionStmt(new IntegerLiteral(FilePosition.UNKNOWN, 13))));
assertTrue(n.makeImmutable());
assertTrue(n.isImmutable());
assertTrue(n.children().get(0).isImmutable());
assertTrue(n.children().get(0).children().get(0).isImmutable());
assertTrue(n.children().get(1).isImmutable());