JUnit Testing & Mock Service Task

Yes, i am using delegateExpression. If possible can you give a simple sample on how to do it with @MockBeans for flowable.

I have tried with MockExpressionManager(), but this did not worked. My test runs the actual service task instead of the mock. I have discussed about it here Testing processes with junit in spring