@Test
public void testAMQPEventQueueProvider_defaultconfig_exchange() {

	String exchangestring = "amqp_exchange:myExchangeName?exchangeType=topic&routingKey=test&deliveryMode=2";
	Mockito.when(config.getProperty(Mockito.anyString(), Mockito.anyString()))
			.thenAnswer(invocation -> invocation.getArgument(1));
	Mockito.when(config.getBooleanProperty(Mockito.anyString(), Mockito.anyBoolean()))
			.thenAnswer(invocation -> invocation.getArgument(1));
	Mockito.when(config.getIntProperty(Mockito.anyString(), Mockito.anyInt()))
			.thenAnswer(invocation -> invocation.getArgument(1));
	AMQPEventQueueProvider eventqProvider = new AMQPEventQueueProvider(config, true);
	ObservableQueue queue = eventqProvider.getQueue(exchangestring);
	Assert.assertNotNull(queue);
	Assert.assertEquals(exchangestring, queue.getName());
	Assert.assertEquals(AMQPConstants.AMQP_EXCHANGE_TYPE, queue.getType());
}