Class TaskListenerVerification
java.lang.Object
org.camunda.community.mockito.verify.AbstractMockitoVerification<org.camunda.bpm.engine.delegate.TaskListener,org.camunda.bpm.engine.delegate.DelegateTask>
org.camunda.community.mockito.verify.TaskListenerVerification
- All Implemented Interfaces:
MockitoVerification<org.camunda.bpm.engine.delegate.DelegateTask>
public class TaskListenerVerification
extends AbstractMockitoVerification<org.camunda.bpm.engine.delegate.TaskListener,org.camunda.bpm.engine.delegate.DelegateTask>
-
Field Summary
Fields inherited from class org.camunda.community.mockito.verify.AbstractMockitoVerification
argumentCaptor, mock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoVerify(org.mockito.verification.VerificationMode verificationMode) The concrete implementation must implement the method call (verify(mock).METHOD_CALL(argumentCaptor.capture)).Methods inherited from class org.camunda.community.mockito.verify.AbstractMockitoVerification
executed, executed, executedNever
-
Constructor Details
-
TaskListenerVerification
public TaskListenerVerification(org.camunda.bpm.engine.delegate.TaskListener mock)
-
-
Method Details
-
doVerify
protected void doVerify(org.mockito.verification.VerificationMode verificationMode) throws Exception Description copied from class:AbstractMockitoVerificationThe concrete implementation must implement the method call (verify(mock).METHOD_CALL(argumentCaptor.capture)).- Specified by:
doVerifyin classAbstractMockitoVerification<org.camunda.bpm.engine.delegate.TaskListener,org.camunda.bpm.engine.delegate.DelegateTask> - Parameters:
verificationMode- defaults to times(1), but anyVerificationModecan be used.- Throws:
Exception- just in case the METHOD_CALL throws an exception. If caught, it is propagated unchecked.
-