TestInstanceFactoryContext encapsulates the context in which
a test class is to be instantiated by a
TestInstanceFactory.
TestInstanceFactory
| Modifier and Type | Method and Description |
|---|---|
| public Optional | Returns: anOptional containing the outer test instance; never
null but potentially emptyGet the instance of the outer class, if available. |
| public Class | Returns: the test class to be instantiated; nevernullGet the test class for this context. |
| getOuterInstance | back to summary |
|---|---|
| public Optional Get the instance of the outer class, if available. The returned
| |
| getTestClass | back to summary |
|---|---|
| public Class Get the test class for this context.
| |