Config.listener2.onCreate(Config.conn2);
verify(Config.channel2, times(0)).queueDeclare("foo", true, false, false, null);
verify(Config.channel2, times(0)).exchangeDeclare("bar", "direct", true, false, new HashMap<String, Object>());
verify(Config.channel2, times(0)).queueBind("foo", "bar", "foo", null);
context.destroy();
}
@Test
public void testAddRemove() {
Queue queue = new Queue("foo");