#vulnerable code 
                                @Test
    void generatedBeanWithFluentSetterShouldBeCorrectlyPopulated() {
        // when
        FluentSetterBean fluentSetterBean = easyRandom.nextObject(FluentSetterBean.class);

        // then
        assertThat(fluentSetterBean.getName()).isNotEmpty();
    } 
                            #location 7 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                                @Test
    void generatedBeanWithFluentSetterShouldBeCorrectlyPopulated() {
        // when
        ChainedSetterBean chainedSetterBean = easyRandom.nextObject(ChainedSetterBean.class);

        // then
        assertThat(chainedSetterBean.getName()).isNotEmpty();
    }