Class ExecutionListenerVerification

  • All Implemented Interfaces:
    MockitoVerification<org.camunda.bpm.engine.delegate.DelegateExecution>

    public class ExecutionListenerVerification
    extends AbstractMockitoVerification<org.camunda.bpm.engine.delegate.ExecutionListener,​org.camunda.bpm.engine.delegate.DelegateExecution>
    • Constructor Detail

      • ExecutionListenerVerification

        public ExecutionListenerVerification​(org.camunda.bpm.engine.delegate.ExecutionListener 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.ExecutionListener,​org.camunda.bpm.engine.delegate.DelegateExecution>
        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.