@Test
public void testDeclareGlobalExchanges() throws Exception {

	Channel channel = Mockito.mock( Channel.class );
	RabbitMqUtils.declareGlobalExchanges( "d", channel );
	Mockito.verify( channel, Mockito.times( 1 )).exchangeDeclare( "d." + EXCHANGE_DM, "topic" );
	Mockito.verify( channel, Mockito.times( 1 )).exchangeDeclare( "d." + EXCHANGE_INTER_APP, "topic" );
}