Class GuiceInjectExtension

java.lang.Object
org.gwizard.test.GuiceInjectExtension
All Implemented Interfaces:
org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.Extension

public class GuiceInjectExtension extends Object implements org.junit.jupiter.api.extension.BeforeEachCallback
Separate out the actual injection of things from the guice setup so that other extensions do setup that might affect what gets injected.
  • Constructor Details

    • GuiceInjectExtension

      public GuiceInjectExtension()
  • Method Details

    • beforeEach

      public void beforeEach(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
      Specified by:
      beforeEach in interface org.junit.jupiter.api.extension.BeforeEachCallback
      Throws:
      Exception