You can use the
zeebe-test module to write JUnit tests for your job worker and BPMN workflow. It provides a JUnit rule to bootstrap the broker and some basic assertions.
zeebe-test as Maven test dependency to your project:
ZeebeTestRule in your test case to start an embedded broker. It contains a client which can be used to deploy a BPMN workflow or create an instance.
ZeebeTestRule provides also some basic assertions in AssertJ style. The entry point of the assertions is