public void endpointWithTransformer()
{
endpointMockerBehavior();
module().outboundEndpoint(ADDRESS, PAYLOAD,
new DefaultMuleException("exception"), muleTransformer,
props(entry(INVOCATION_KEY, INVOCATION_VALUE)),
props(entry(INBOUND_KEY, INBOUND_VALUE)),
props(entry(SESSION_KEY, SESSION_VALUE)),
props(entry(OUTBOUND_KEY, OUTBOUND_VALUE)),
createAssertions());