@Test( expected = UnsupportedOperationException.class )
public void shouldReturnImmutableListOfChildren() {

    parent = new AstNode("parent");
    new AstNode(parent, "childA");
    new AstNode(parent, "childB");
    new AstNode(parent, "childC");
    parent.getChildren().clear();
}