@Test
public void deserializesList() {

    Node value = Node.fromStrings("a", "b");
    NodeMapper mapper = new NodeMapper();
    List<String> result = mapper.deserializeCollection(value, List.class, String.class);
    assertThat(result, instanceOf(ArrayList.class));
    assertThat(result, contains("a", "b"));
}