Interface GuiceyInterceptor.EnvironmentSupport
-
- All Known Implementing Classes:
GuiceyInterceptor.AbstractEnvironmentSupport
- Enclosing class:
- GuiceyInterceptor
public static interface GuiceyInterceptor.EnvironmentSupportExternal junit rules adapter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafter()Shutdown environment.voidbefore()Prepare environment.ru.vyarus.dropwizard.guice.test.ClientSupportgetClient()com.google.inject.InjectorgetInjector()
-
-
-
Method Detail
-
before
void before() throws java.lang.ExceptionPrepare environment.- Throws:
java.lang.Exception- on error
-
after
void after() throws java.lang.ExceptionShutdown environment.- Throws:
java.lang.Exception- on error
-
getInjector
com.google.inject.Injector getInjector()
- Returns:
- injector instance
-
getClient
ru.vyarus.dropwizard.guice.test.ClientSupport getClient()
- Returns:
- client object
-
-