assertThat(inputMetaData, equalTo(null));
}
private void doResolvedMetadataTest(String flowName)
{
Flow flowConstruct = (Flow) muleContext.getRegistry().lookupFlowConstruct(flowName);
List<MessageProcessor> messageProcessors = flowConstruct.getMessageProcessors();
AbstractSingleQueryDbMessageProcessor queryMessageProcessor = (AbstractSingleQueryDbMessageProcessor) messageProcessors.get(0);
Result<MetaData> inputMetaData = queryMessageProcessor.getInputMetaData();
DefinedMapMetaDataModel mapDataModel = (DefinedMapMetaDataModel) inputMetaData.get().getPayload();
assertThat(mapDataModel.getKeys().size(), equalTo(2));