@Test
public void getObjectValuesNotAnObject() {

    assertThatExceptionOfType(NodeProcessingException.class).
            isThrownBy(() -> stringArrayNode("A", "B", "C").getObjectValues());
    assertThatExceptionOfType(NodeProcessingException.class).
            isThrownBy(() -> stringNode("A").getObjectValues());
}