T
- The type for which the construction is being mocked.@Incubating public interface MockedConstruction<T> extends ScopedMock
If the Mock
annotation is used on fields or method parameters of this type, a mocked
construction is created instead of a regular mock. The mocked construction is activated and
released upon completing any relevant test.
Modifier and Type | Interface and Description |
---|---|
static interface |
MockedConstruction.Context |
static interface |
MockedConstruction.MockInitializer<T> |
Modifier and Type | Method and Description |
---|---|
List<T> |
constructed() |
close, closeOnDemand, isClosed