PropertiesConfiguration queueConfig = new PropertiesConfiguration();
queueConfig.addProperty("queues.queue.test.argument", QueueArgumentsConverter.QPID_GROUP_HEADER_KEY + "=mykey");
queueConfig.addProperty("queues.queue.test.argument", QueueArgumentsConverter.QPID_SHARED_MSG_GROUP + "=1");
CompositeConfiguration config = new CompositeConfiguration();
config.addConfiguration(_fullHostConf.getConfig());
config.addConfiguration(queueConfig);
final VirtualHostConfiguration vhostConfig = new VirtualHostConfiguration("test", config, _broker);;
qConf = new QueueConfiguration("test", vhostConfig);
assertEquals(2, qConf.getArguments().size());
assertEquals("mykey", qConf.getArguments().get(QueueArgumentsConverter.QPID_GROUP_HEADER_KEY));