@Override
			public void publish(DeploymentMessage deploymentMessage) {
				try {
					consumer.consumeMessage(deploymentMessage, streamDeployer(), jobDeployer());
				}
				catch (Exception e) {
					throw new RuntimeException(e);
				}
			}
Provide a mockito mock for any of the business layer dependencies. Adding yet another configuration class on top, one
can selectively override those mocks (with <i>e.g.</i> in memory implementations).

@author Eric Bottard
@author Ilayaperumal Gopinathan
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/rest/Dependencies.java