java.lang.Object
io.helidon.inject.testing.InjectionTestingSupport
Supporting helper utilities unit-testing Injection Services.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ConfigBasic testable configuration.static voidbind(InjectionServices injectionServices, ServiceProvider<?> serviceProvider) Provides a means to bind a service provider into theServicesregistry.static voidresetAll()Resets all internal configuration instances, JVM global singletons, service registries, etc.static InjectionServicesCreates aInjectionServicesinterface more conducive to unit and integration testing.static InjectionServicestestableServices(Config config) Creates aInjectionServicesinterface more conducive to unit and integration testing.static StringtoDescription(Object providerOrInstance) Describe the provided instance or provider.toDescriptions(Collection<?> coll) Describe the provided instance or provider collection.
- 
Method Details- 
resetAllpublic static void resetAll()Resets all internal configuration instances, JVM global singletons, service registries, etc.
- 
bindProvides a means to bind a service provider into theServicesregistry.- Parameters:
- injectionServices- the services instance to bind into
- serviceProvider- the service provider to bind
- See Also:
 
- 
testableServicesCreates aInjectionServicesinterface more conducive to unit and integration testing.- Returns:
- testable services instance
 
- 
testableServicesCreates aInjectionServicesinterface more conducive to unit and integration testing.- Parameters:
- config- the config to use
- Returns:
- testable services instance
- See Also:
 
- 
basicTestableConfigBasic testable configuration.- Returns:
- testable config
 
- 
toDescriptionDescribe the provided instance or provider.- Parameters:
- providerOrInstance- the instance to provider
- Returns:
- the description of the instance
 
- 
toDescriptionsDescribe the provided instance or provider collection.- Parameters:
- coll- the instance to provider collection
- Returns:
- the description of the instance
 
 
-