Package net.serenitybdd.core.di
Interface DependencyInjector
public interface DependencyInjector
-
Method Summary
Modifier and Type Method Description void
injectDependenciesInto(java.lang.Object object)
Injects dependencies into a test class or test step object.void
reset()
Reinitializes dependencies.
-
Method Details
-
injectDependenciesInto
void injectDependenciesInto(java.lang.Object object)Injects dependencies into a test class or test step object. -
reset
void reset()Reinitializes dependencies. This ensures that fresh dependency instances will be used for each new test or scenario.
-