integrationSupport.createAndDeployStream(tap);
NamedChannelSink sink = new SingleNodeNamedChannelSinkFactory(integrationSupport.messageBus()).createNamedChannelSink("queue:tap");
chain.sendPayload(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()));
Object payload = sink.receivePayload(RECEIVE_TIMEOUT);
assertNotNull(payload);
assertTrue(payload instanceof DateTime);
integrationSupport.undeployAndDestroyStream(tap);
chain.destroy();