factory.setConcurrencyChecksEnabled(regionAttributes.isConcurrencyChecksEnabled());
.thenAnswer(newSetter(compressor, mockRegionFactory)); when(mockRegionFactory.setConcurrencyChecksEnabled(anyBoolean())) .then(newSetter(concurrencyChecksEnabled, mockRegionFactory));
regionFactory.setConcurrencyChecksEnabled(regionAttributes.getConcurrencyChecksEnabled()); regionFactory.setConcurrencyLevel(regionAttributes.getConcurrencyLevel()); regionFactory.setCustomEntryIdleTimeout(regionAttributes.getCustomEntryIdleTimeout());
regionFactory.setConcurrencyChecksEnabled(regionAttributes.getConcurrencyChecksEnabled()); regionFactory.setConcurrencyLevel(regionAttributes.getConcurrencyLevel()); regionFactory.setCustomEntryIdleTimeout(regionAttributes.getCustomEntryIdleTimeout());