Class JavaDelegateVerification

java.lang.Object
org.camunda.community.mockito.verify.AbstractMockitoVerification<org.camunda.bpm.engine.delegate.JavaDelegate,org.camunda.bpm.engine.delegate.DelegateExecution>
org.camunda.community.mockito.verify.JavaDelegateVerification
All Implemented Interfaces:
MockitoVerification<org.camunda.bpm.engine.delegate.DelegateExecution>

public class JavaDelegateVerification extends AbstractMockitoVerification<org.camunda.bpm.engine.delegate.JavaDelegate,org.camunda.bpm.engine.delegate.DelegateExecution>
  • Constructor Details

    • JavaDelegateVerification

      public JavaDelegateVerification(org.camunda.bpm.engine.delegate.JavaDelegate mock)
  • Method Details

    • 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.JavaDelegate,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.