org.mockito.configuration.MockitoConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-junit5-mockito-config Show documentation
Show all versions of quarkus-junit5-mockito-config Show documentation
Contains a MockitoConfiguration that has to be loaded parent-first to work in continuous testing.
It is separated from junit5-mockito to minimize the blast radius.
package org.mockito.configuration;
import java.lang.reflect.InvocationTargetException;
import org.mockito.stubbing.Answer;
public class MockitoConfiguration extends DefaultMockitoConfiguration {
@SuppressWarnings("unchecked")
@Override
public Answer