org.mockito.internal.verification.VerificationEventImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of securemock Show documentation
Show all versions of securemock Show documentation
Libraries for Elasticsearch
The newest version!
/*
* Copyright (c) 2017 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.verification;
import org.mockito.internal.verification.api.VerificationData;
import org.mockito.verification.VerificationEvent;
import org.mockito.verification.VerificationMode;
public class VerificationEventImpl implements VerificationEvent {
private final Object mock;
private final VerificationMode mode;
private final VerificationData data;
private final Throwable cause;
public VerificationEventImpl(Object mock, VerificationMode mode, VerificationData data, Throwable cause) {
this.mock = mock;
this.mode = mode;
this.data = data;
this.cause = cause;
}
public Object getMock() {
return mock;
}
public VerificationMode getMode() {
return mode;
}
public VerificationData getData() {
return data;
}
public Throwable getVerificationError() {
return cause;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy