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