protected void propagateNullOnNestedWithFK(Function<Query, ResultIterable<? extends TestBean>> mapFunction) {
        try (Query select = handle.select("select 'fourty-two' as nestedid, 1 as nestedfk")) {
            TestBean testBean = mapFunction.apply(select).one();

            assertThat(testBean).isNotNull();
            assertThat(testBean.getNestedBean()).isNotNull();
            assertThat(testBean.getNestedBean().getId()).isEqualTo("fourty-two");

            testBean = mapFunction.apply(handle.select("select 'fourty-two' as nestedid, NULL as nestedfk"))
                .one();

            assertThat(testBean).isNotNull()
                .extracting(TestBean::getNestedBean).isNull();
        }
    }
Test that the propagateNull annotation on a nested bean works. The nested bean does not use a prefix and the column in the nested bean is present in the
result set. The tested key is different from the id key (and may not be mapped by the bean).
core/src/test/java/org/jdbi/v3/core/mapper/AbstractPropagateNullTest.java