Delegate unit test case

can any one share thoughts or sample’s test cases to test java delegate in process using junit or mockito

start a project with jUnit test

  1. clone flowable engine
git clone https://github.com/flowable/flowable-engine.git
  1. cd flowable-engine/tooling/archetypes
  2. mvn clean install deploy flowable test archetype to your local repo.
  3. cd ${PROJECT_DIR} go to you projects directory.
  4. mvn -o archetype:generate -DarchetypeGroupId=org.flowable -DarchetypeArtifactId=flowable-archetype-unittest -DarchetypeVersion=6.6.1-SNAPSHOT -DgroupId=org.crp.flowable.training generate flowable jUnit test template.
  5. mvn test

thanks martin .that works for me