All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.camunda.bpm.extension.mockito.verify.JavaDelegateVerification Maven / Gradle / Ivy

The newest version!
package org.camunda.bpm.extension.mockito.verify;

import static org.mockito.Mockito.verify;

import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;
import org.mockito.verification.VerificationMode;

public class JavaDelegateVerification extends AbstractMockitoVerification {

  public JavaDelegateVerification(final JavaDelegate mock) {
    super(mock, DelegateExecution.class);
  }

  @Override
  protected void doVerify(final VerificationMode verificationMode) throws Exception {
    verify(mock, verificationMode).execute(argumentCaptor.capture());
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy