@Test
public void cannotDeserializeNonCollectionArrays() {

    Node value = Node.fromStrings("a", "b");
    NodeMapper mapper = new NodeMapper();
    Throwable e = Assertions.assertThrows(NodeDeserializationException.class, () -> {
        mapper.deserialize(value, PojoWithCollection.class);
    });
    assertThat(e.getMessage(), equalTo(
            "Deserialization error at (/): unable to create "
            + "software.amazon.smithy.model.node.NodeMapperTest.PojoWithCollection from [\"a\",\"b\"]"));
}