T - the underlying context object used by the service instance.public interface ServiceProvider<T>
| Modifier and Type | Method and Description |
|---|---|
ServiceInstance |
configure(TestContext testContext,
T serviceContext)
Configure a service instance using the given test context and service context.
|
T |
create(TestContext testContext)
Create and configure a dependency injection object using the given test context (i.e
Guice Injector, HK2 ServiceLocator, etc).
|
default void |
postConfigure(TestContext testContext,
ServiceInstance serviceInstance)
Initialize a service instance using the given test context and service context.
|
T create(TestContext testContext)
testContext - the test contextServiceInstance configure(TestContext testContext, T serviceContext)
testContext - the test contextserviceContext - the service instance contextdefault void postConfigure(TestContext testContext, ServiceInstance serviceInstance)
testContext - the test contextserviceInstance - the service instanceCopyright © 2016–2018 Testify Project. All rights reserved.