assertEquals(binding1.getQueueName(), binding2.getQueueName()); assertEquals(binding1.getSelector(), binding2.getSelector());
assertEquals(binding1.getQueueName(), binding2.getQueueName()); String selector1 = binding1.getFilter() != null ? binding1.getFilter().getFilterString() : null; String selector2 = binding2.getFilter() != null ? binding2.getFilter().getFilterString() : null; assertEquals(selector1, selector2);
   protected void assertEquivalent(Binding binding1, Binding binding2)   {      assertEquals(binding1.getNodeId(), binding2.getNodeId());      assertEquals(binding1.getQueueName(), binding2.getQueueName());            assertEquals(binding1.getSelector(), binding2.getSelector());      assertEquals(binding1.getChannelId(), binding2.getChannelId());      assertEquals(binding1.isDurable(), binding2.isDurable());   }