assertTrue(node.equals(node2));
}
@Test
public void equals_func() {
ScriptNode node = new ScriptNode(ScriptFunction.create("groovy", "huga()", "return 1;"));
ScriptNode node2 = new ScriptNode(ScriptFunction.create("javascript", "huga()", "return 1;"));
assertFalse(node.equals(node2));
}