From e8599c554142e6375eabd4cbe1d432acbf262f56 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Tue, 17 Jun 2014 23:15:41 +0300 Subject: [PATCH] INT-3416 Reset SMS.copyOnGet By Default JIRA: https://jira.spring.io/browse/INT-3416 Fix the `SimpleMessageStoreTests` --- .../integration/store/SimpleMessageStoreTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-integration-core/src/test/java/org/springframework/integration/store/SimpleMessageStoreTests.java b/spring-integration-core/src/test/java/org/springframework/integration/store/SimpleMessageStoreTests.java index 72c088a428..edeb3ff15a 100644 --- a/spring-integration-core/src/test/java/org/springframework/integration/store/SimpleMessageStoreTests.java +++ b/spring-integration-core/src/test/java/org/springframework/integration/store/SimpleMessageStoreTests.java @@ -110,6 +110,7 @@ public class SimpleMessageStoreTests { @Test public void shouldCopyMessageGroup() throws Exception { SimpleMessageStore store = new SimpleMessageStore(); + store.setCopyOnGet(true); Message testMessage1 = MessageBuilder.withPayload("foo").build(); store.addMessageToGroup("bar", testMessage1); assertNotSame(store.getMessageGroup("bar"), store.getMessageGroup("bar"));