Advice[] adviceChain = new Advice[0];
config.setAdviceChain(adviceChain);
config.setConcurrentConsumers(5);
ConnectionFactory mockConnectionFactory = mock(ConnectionFactory.class);
testSubject.setConnectionFactory(mockConnectionFactory);
ErrorHandler mockErrorHandler = mock(ErrorHandler.class);
config.setErrorHandler(mockErrorHandler);
MessagePropertiesConverter mockMessagePropertiesConverter = mock(MessagePropertiesConverter.class);
config.setMessagePropertiesConverter(mockMessagePropertiesConverter);
config.setPrefetchCount(6);
config.setReceiveTimeout(6000L);