title: How to mock a message processor in a Mule flow
body: <p>I have created a mule flow using MS Dynamics CRM connector.</p>
  
  <pre><code>&lt;flow name="Dynamics_crmFlow4" doc:name="Dynamics_crmFlow4"&gt;
      &lt;vm:inbound-endpoint exchange-pattern="one-way" path="CreateRecord" doc:name="VM"/&gt;
      &lt;dynamicscrm:create config-ref="MS_Dynamics_CRM" logicalName="account" doc:name="CreateAccount"&gt;
          &lt;dynamicscrm:entity&gt;
              &lt;dynamicscrm:entity key="address1_city"&gt;#[message.payload['city']]&lt;/dynamicscrm:entity&gt;
              &lt;dynamicscrm:entity key="name"&gt;#[message.payload['name']]&lt;/dynamicscrm:entity&gt;
          &lt;/dynamicscrm:entity&gt;
      &lt;/dynamicscrm:create&gt;
      &lt;logger message="Account created guid : #[payload]" level="INFO" doc:name="Logger"/&gt;
  &lt;/flow&gt;
  </code></pre>
  
  <p>I am trying to write unit test for the above flow. In this process I would like mock "dynamicscrm:create" message processor in the above flow. 
  Can any one suggest a best way to mock a message processor in a flow.
  Thanks in Advance.</p>