@Test
public void testGetQueueName() throws Exception {

	Map<String,String> configuration = new HashMap<> ();
	configuration.put( RABBITMQ_SERVER_IP, "localhost" );
	configuration.put( RABBITMQ_SERVER_USERNAME, "guest" );
	configuration.put( RABBITMQ_SERVER_PASSWORD, "guest" );
	RabbitMqClient client = new RabbitMqClient( null, configuration, RecipientKind.DM );
	client.setOwnerProperties( RecipientKind.DM, "domain", "app", "/root" );
	Assert.assertEquals( "domain.roboconf-dm", client.getQueueName());
	client.setOwnerProperties( RecipientKind.AGENTS, "domain", "app", "/root" );
	Assert.assertEquals( "domain.app.root", client.getQueueName());
	client.setOwnerProperties( RecipientKind.AGENTS, "domain1", "app", "/root" );
	Assert.assertEquals( "domain1.app.root", client.getQueueName());
}