yet another test update

This commit is contained in:
Costin Leau
2013-01-25 13:20:58 +02:00
parent acc27f4ccd
commit d73d8a0365

View File

@@ -168,8 +168,8 @@ public class PubSubResubscribeTests {
String ANOTHER_CHANNEL = "pubsub::test::extra";
// bind listener on another channel
container.removeMessageListener(null, new ChannelTopic(CHANNEL));
container.addMessageListener(adapter, new ChannelTopic(ANOTHER_CHANNEL));
container.removeMessageListener(null, new ChannelTopic(CHANNEL));
assertEquals(ZERO, template.convertAndSend(CHANNEL, payload1));
assertEquals(ZERO, template.convertAndSend(CHANNEL, payload2));