### Question:
BindingsRegistry { void bind(QueueHandler queueHandler, String bindingKey, FieldTable arguments) throws BrokerException, ValidationException { BindingSet bindingSet = bindingPatternToBindingsMap.computeIfAbsent(bindingKey, k -> new BindingSet()); Queue queue = queueHandler.getUnmodifiableQueue(); Binding binding = new Binding(queue, bindingKey, arguments); boolean success = bindingSet.add(binding); if (success) { queueHandler.addBinding(binding, bindingDeleteListener); if (queue.isDurable()) { bindingDao.persist(exchange.getName(), binding); } } LOGGER.debug("Binding added for queue {} with pattern {}", queueHandler, bindingKey); notifyOnBind(bindingKey); } BindingsRegistry(Exchange exchange, BindingDao bindingDao); void retrieveAllBindingsForExchange(QueueRegistry queueRegistry); Map<String, BindingSet> getAllBindings(); void addBindingsRegistryListeners(BindingsRegistryListener listener);  }### Answer:
@Test(dataProvider = "InvalidBindingData", expectedExceptions = ValidationException.class) public void testMultipleBindCallsWithDifferentSelectors(String queueName, String selectorOne, String selectorTwo) throws Exception { QueueHandler queueHandler = new QueueHandler(new MemQueueImpl(queueName, 2, false), null); registry.bind(queueHandler, queueName, getFieldTable(selectorOne)); registry.bind(queueHandler, queueName, getFieldTable(selectorTwo)); }