GetResponse response = channel.basicGet(TEST_QUEUE, true);
Assert.assertNotNull("no message in queue", response);
Assert.assertEquals("wrong message in queue", new String(response.getBody(), "UTF-8"), body);
channel.exchangeDelete(TEST_EXCHANGE);
}
@Test
public void shouldTearDown() throws Exception {
Channel channel = brokerSetup.getChannel();