doReturn(new ArrayList<Class<?>>()).when(depUnitMock).getDeployedClasses();
// - deployment unit
DeploymentUnit realDepUnitMock = mock(DeploymentUnit.class);
doReturn(realDepUnitMock).when(depUnitMock).getDeploymentUnit();
// - runtime engine
RuntimeEngineImpl runtimeEngineMock = mock(RuntimeEngineImpl.class);
RuntimeManager runtimeMgrMock;
EmptyContext emptyMock = mock(EmptyContext.class);
switch(strategy) {
case PER_PROCESS_INSTANCE:
runtimeMgrMock = mock(PerProcessInstanceRuntimeManager.class);