Testing processes with junit in spring


If someone is interested in the subject, I’ve written a little article about unit testing processes here with following parts:

  1. Asserting paths of process execution
  2. Mocking service tasks
  3. How to test call activities in isolation with proper exception handling
  4. How to mock call activity results