public class RunnerFactory
extends java.lang.Object
Constructor and Description |
---|
RunnerFactory() |
Modifier and Type | Method and Description |
---|---|
InternalRunner |
create(java.lang.Class<?> klass)
Creates silent runner implementation
|
InternalRunner |
create(java.lang.Class<?> klass,
Supplier<MockitoTestListener> listenerSupplier)
Creates runner implementation with provided listener supplier
|
InternalRunner |
createStrict(java.lang.Class<?> klass)
Creates strict runner implementation
|
InternalRunner |
createStrictStubs(java.lang.Class<?> klass)
Creates strict stubs runner implementation
TODO, let's try to apply Brice suggestion and use switch + Strictness
|
public InternalRunner create(java.lang.Class<?> klass) throws java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
public InternalRunner createStrict(java.lang.Class<?> klass) throws java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
public InternalRunner createStrictStubs(java.lang.Class<?> klass) throws java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
public InternalRunner create(java.lang.Class<?> klass, Supplier<MockitoTestListener> listenerSupplier) throws java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException