for (int i = 0; i < MESSAGE_COUNT; i++) {
channel.basicPublish("", Q, null, "in flight message".getBytes());
}
QueueingConsumer c = new QueueingConsumer(channel);
channel.basicConsume(Q, c);
c.nextDelivery();
close();
open();
for (int i = 0; i < MESSAGE_COUNT; i++) {
GetResponse r = channel.basicGet(Q, true);
assertNotNull("only got " + i + " out of " + MESSAGE_COUNT +