public BlockingDeque<AbstractModuleEvent> getEvents() {
		return events;
	}
Listens for {@link AbstractModuleEvent}s that signal module deployment and undeployment and places the events on a
blocking queue. Add this class to a test application context to be informed on module events.

@author Jennifer Hickey
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/module/TestModuleEventListener.java