Package org.activiti.engine.test.mock

Examples of org.activiti.engine.test.mock.MockServiceTasks


  protected static void handleMockServiceTaskAnnotation(ActivitiMockSupport mockSupport, MockServiceTask mockedServiceTask) {
    mockSupport.mockServiceTaskWithClassDelegate(mockedServiceTask.originalClassName(), mockedServiceTask.mockedClassName());
  }
 
  protected static void handleMockServiceTasksAnnotation(ActivitiMockSupport mockSupport, Method method) {
    MockServiceTasks mockedServiceTasks = method.getAnnotation(MockServiceTasks.class);
     if (mockedServiceTasks != null) {
       for (MockServiceTask mockedServiceTask : mockedServiceTasks.value()) {
         handleMockServiceTaskAnnotation(mockSupport, mockedServiceTask);
       }
     }
  }
View Full Code Here

TOP

Related Classes of org.activiti.engine.test.mock.MockServiceTasks

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.