Add sanity check of browse list

This commit is contained in:
gtully 2015-07-02 21:58:13 +01:00
parent 5abd2d231a
commit fef8cac05f
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,8 @@ public class PurgeTest extends EmbeddedBrokerTestSupport {
long count = proxy.getQueueSize();
assertEquals("Queue size", count, messageCount);
assertEquals("Browse size", messageCount, proxy.browseMessages().size());
proxy.purge();
count = proxy.getQueueSize();
assertEquals("Queue size", count, 0);