public void returnsNullStoredProcedureOutputMetadata() throws Exception
{
Flow flowConstruct = (Flow) muleContext.getRegistry().lookupFlowConstruct("storedProcedureMetadata");
List<MessageProcessor> messageProcessors = flowConstruct.getMessageProcessors();
StoredProcedureMessageProcessor dbMessageProcessor = (StoredProcedureMessageProcessor) messageProcessors.get(0);
Result<MetaData> inputMetaData = dbMessageProcessor.getOutputMetaData(null);
assertThat(inputMetaData, equalTo(null));
}