public void testDeployAppWithCustomEngine() {
TestApplicationWithCustomEngine processApplication = new TestApplicationWithCustomEngine();
processApplication.deploy();
ProcessEngine processEngine = BpmPlatform.getProcessEngineService().getProcessEngine("embeddedEngine");
assertNotNull(processEngine);
assertEquals("embeddedEngine", processEngine.getName());
ProcessEngineConfiguration configuration = ((ProcessEngineImpl) processEngine).getProcessEngineConfiguration();
// assert engine properties specified
assertEquals(true, configuration.isJobExecutorDeploymentAware());