Hi there,
I want to write an integration test.
The integration test uses spring to configure a Bean for ProcessEngine and ProcessEngineConfiguration. The test should use these beans to register the Extension.
So in the test I want to write something like this:
@RegisterExtension
ProcessEngineExtension extension = ProcessEngineExtension
.builder()
.useProcessEngine(processEngine)
.build();
@Autowired
private ProcessEngine processEngine;
This obviously doesnt work since the field “processEngine” is not initialized when building the Extension.
There is some point that I am missing but I dont see it yet… How do I forward the ProcessEngine to the extension?
Regards, Lukas