mulesoft/mule-devkit — Issue #108: Improve the generated Test class
Author: marianocapurro
Created: 2012-02-27 19:38:19+00:00
State: open
Labels: ENHANCEMENT

The devkit will generate a default Test class for the Module and/or Connector. It will be good if the following are provided:

* Create an Abstract class with the helper methods (runFlowAndExpect, runFlowWithPayloadAndExpect, etc.)
* Add the method runFlowWithPayload
* Add a method to test if an exception is thrown in the module/connector operation (probably ```runFlowWithPayloadAndExpectException(String flowName, T payload,

expectedException)```