Interface GuiceyInterceptor.EnvironmentSupport

All Known Implementing Classes:
GuiceyInterceptor.AbstractEnvironmentSupport
Enclosing class:
GuiceyInterceptor

public static interface GuiceyInterceptor.EnvironmentSupport
External junit rules adapter.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Shutdown environment.
    void
    Prepare environment.
    ru.vyarus.dropwizard.guice.test.ClientSupport
     
    com.google.inject.Injector
     
  • Method Details

    • before

      void before() throws Exception
      Prepare environment.
      Throws:
      Exception - on error
    • after

      void after() throws Exception
      Shutdown environment.
      Throws:
      Exception - on error
    • getInjector

      com.google.inject.Injector getInjector()
      Returns:
      injector instance
    • getClient

      ru.vyarus.dropwizard.guice.test.ClientSupport getClient()
      Returns:
      client object