public class DefensiveCopyTest extends SingleCacheManagerTest {
@Override
protected EmbeddedCacheManager createCacheManager() throws Exception {
ConfigurationBuilder builder = new ConfigurationBuilder();
builder.storeAsBinary().enable().defensive(true);
return TestCacheManagerFactory.createCacheManager(builder);
}
public void testOriginalReferenceSafety() {
final Integer k = 1;