@Test
public void deserializesWithFromNodeFactoryAndUnknownPropertiesWithWarning() {

    Node baz = Node.parse("{\"foo\": \"hi\", \"baz\": 10, \"inner\": {\"inner\": {\"noSetter!\": \"inn!\"}}}");
    Baz result = new NodeMapper().deserialize(baz, Baz.class);
    assertThat(result.toString(), equalTo(
            "Baz{foo='hi', baz=10, inner=Baz{foo='null', baz=0, inner=Baz{foo='null', baz=0, inner=null}}}"));
}