BooleanNode extends Node { public boolean getValue() { return value; } BooleanNode(boolean value, SourceLocation sourceLocation); boolean getValue(); @Override NodeType getType(); @Override R accept(NodeVisitor<R> visitor); @Override BooleanNode expectBooleanNode(String errorMessage); @Override Optional<BooleanNode> asBooleanNode(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }
@Test public void trueBooleanIsTrue() { BooleanNode node = Node.from(true); assertEquals(true, node.getValue()); }