I am implementing MUnit with java for a mule flow. The flow is having a flow variable who's value is being derived from a variable in another flow. So, I need to have this value set in java which would be run as Junit.
Please let me know how do we set flow/session variables in Java that will be testing the mule flow.
Thanks in advance.
You can set variables on test message. Check this post - https://unittesters.com/blog/mule-munit-testing-variables-properties/