@Test
public void expectBooleanNodeReturnsBooleanNode() {

    Node trueNode = Node.from(true);
    Node falseNode = Node.from(false);
    assertThat(trueNode.expectBooleanNode(), instanceOf(BooleanNode.class));
    assertThat(falseNode.expectBooleanNode(), instanceOf(BooleanNode.class));
}