Camunda Testing in SpringBoot

I am trying to test my process and Im getting the following error.
Caused by: org.camunda.bpm.engine.impl.javax.el.PropertyNotFoundException: Cannot resolve identifier “myComponent”. How can I automatically load my custom beans without using Mocks.register()

Try out the extension camunda-bpm-mockito.
It supports an “autoMock” which automatically registers a mock-dummy for each delegate/listener.

1 Like