public void testNullPayloadIsConsideredAsNullResult() throws Exception
{
ExpressionTransformer transformer = new ExpressionTransformer();
transformer.setMuleContext(muleContext);
transformer.setReturnSourceIfNull(true);
ExpressionConfig config = new ExpressionConfig("null", "groovy", null);
ExpressionArgument argument = new ExpressionArgument("test", config, false);
argument.setMuleContext(muleContext);
transformer.addArgument(argument);
MuleMessage message = new DefaultMuleMessage("Test", muleContext);