Camunda BPMN deployment verification

Hi Everyone,

I am trying to write a
@springboot test for camunda. I have defined the resource path as “test/resources/bpmn/*.bpmn” for autodeployment of resources. I am using h2 database for the tests.
Once the test in run, I am able to see logs related to table creation and so on. How to programmatically verify if the test bpmn placed on the test resources folder was deployed successfully or not.

I have given the deployment resource location in test.properties using “camunda.bpm.deployment-resource-pattern”, but when I run the test, I always see “no processes deployed with key ‘’: processDefinition is null” error