Hello everyone,
I am trying to add unit test following this link
https://docs.camunda.org/manual/7.8/user-guide/spring-framework-integration/testing/
I get this error:
Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1500b2f3] to prepare test instance [com.logate.sber.unit.camunda.MyBusinessProcessTest@7eecb5b8]
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.io.FileNotFoundException: class path resource [org/camunda/bpm/engine/spring/test/junit4/springTypicalUsageTest-context.xml] cannot be opened because it does not exist .
I assume this is caused by @ContextConfiguration(“classpath:org/camunda/bpm/engine/spring/test/junit4/springTypicalUsageTest-context.xml”)
but I am not sure.
Can anyone help me configuring simple unit test example?
Thank you in advance