public CacheSimpleEntryListenerConfig setCacheEntryListenerFactory(String cacheEntryListenerFactory) {
        this.cacheEntryListenerFactory = cacheEntryListenerFactory;
        return this;
    }
@Test
    public void testEqualsAndHashCode() {
        assumeDifferentHashCodes();
        CacheSimpleEntryListenerConfig redEntryListenerConfig = new CacheSimpleEntryListenerConfig();
        redEntryListenerConfig.setCacheEntryListenerFactory("red");
        CacheSimpleEntryListenerConfig blackEntryListenerConfig = new CacheSimpleEntryListenerConfig();
        blackEntryListenerConfig.setCacheEntryListenerFactory("black");
        EqualsVerifier.forClass(CacheSimpleEntryListenerConfig.class)
                .suppress(Warning.NONFINAL_FIELDS)
                .withPrefabValues(CacheSimpleEntryListenerConfigReadOnly.class,
                        new CacheSimpleEntryListenerConfigReadOnly(redEntryListenerConfig),
                        new CacheSimpleEntryListenerConfigReadOnly(blackEntryListenerConfig))
                .verify();
    }