Class 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>
    • Constructor Detail

      • TaskListenerVerification

        public TaskListenerVerification​(org.camunda.bpm.engine.delegate.TaskListener mock)
    • Method Detail

      • doVerify

        protected void doVerify​(org.mockito.verification.VerificationMode verificationMode)
                         throws Exception
        Description copied from class: AbstractMockitoVerification
        The concrete implementation must implement the method call (verify(mock).METHOD_CALL(argumentCaptor.capture)).
        Specified by:
        doVerify in class AbstractMockitoVerification<org.camunda.bpm.engine.delegate.TaskListener,​org.camunda.bpm.engine.delegate.DelegateTask>
        Parameters:
        verificationMode - defaults to times(1), but any VerificationMode can be used.
        Throws:
        Exception - just in case the METHOD_CALL throws an exception. If caught, it is propagated unchecked.