Package org.gwizard.test
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeEach(org.junit.jupiter.api.extension.ExtensionContext context)
-
Constructor Details
-
GuiceInjectExtension
public GuiceInjectExtension()
-
-
Method Details
-
beforeEach
- Specified by:
beforeEachin interfaceorg.junit.jupiter.api.extension.BeforeEachCallback- Throws:
Exception
-