@Test(expected = IllegalArgumentException.class)
public void testSubscribeTwoTopicsShareConsumerWithoutDefaultTopic() throws Exception {
Map<MetaqTopic, MyListener> subscribers = new HashMap<MetaqTopic, MyListener>();
ConsumerConfig consumerConfig1 = new ConsumerConfig("group1");
MyListener listener1 = new MyListener();
subscribers.put(new MetaqTopic("topic1", 1024, consumerConfig1), listener1);
ConsumerConfig consumerConfig2 = new ConsumerConfig("group1");
MyListener listener2 = new MyListener();
subscribers.put(new MetaqTopic("topic2", 1024 * 1024, consumerConfig2), listener2);
this.container.setSubscribers(subscribers);
this.container.setShareConsumer(true);
this.control.replay();