@Test
public void deserializesIntoBooleans() {

    NodeMapper mapper = new NodeMapper();
    assertThat(mapper.deserialize(Node.from(true), Boolean.class), equalTo(true));
    assertThat(mapper.deserialize(Node.from(true), boolean.class), equalTo(true));
    assertThat(mapper.deserialize(Node.from(true), Object.class), equalTo(true));
}