BinaryNode b = getInstance(new ValueNode<>(true), new ValueNode<>(false));
ValueNode<Boolean> result = b.calc(null);
assertTrue(!result.getValue());
b = getInstance(new ValueNode<>(true), new ValueNode<>(true));
result = b.calc(null);
assertTrue(result.getValue());
b = getInstance(new ValueNode<>(false), new ValueNode<>(true));
result = b.calc(null);
assertTrue(!result.getValue());