INT-3483 Fix Test Case for < 4.1

JIRA: https://jira.spring.io/browse/INT-3483
This commit is contained in:
Gary Russell
2014-07-25 10:48:37 -04:00
parent 9b2fb8a07f
commit bd58077528

View File

@@ -16,8 +16,14 @@
package org.springframework.integration.aggregator;
import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.verify;
import java.lang.reflect.Method;
import java.util.ArrayList;
@@ -419,7 +425,7 @@ public class AbstractCorrelatingMessageHandlerTests {
}
});
handler.setExpireGroupsUponTimeout(false);
handler.setSendPartialResultOnExpiry(true);
SimpleMessageStore messageStore = new SimpleMessageStore() {
@Override
public void removeMessageGroup(Object groupId) {