Class PatriotSetupExtension
- java.lang.Object
-
- io.patriot_framework.junit.extensions.SetupExtension
-
- io.patriot_framework.junit.extensions.PatriotSetupExtension
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.BeforeAllCallback
,org.junit.jupiter.api.extension.Extension
,org.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
public abstract class PatriotSetupExtension extends SetupExtension
Extended setup Extension with support of PatriotHub, which is injected by default
-
-
Constructor Summary
Constructors Constructor Description PatriotSetupExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PatriotHub
getHub()
Accessor for implementation subclasses
-
-
-
Constructor Detail
-
PatriotSetupExtension
public PatriotSetupExtension() throws PropertiesNotLoadedException
- Throws:
PropertiesNotLoadedException
-
-
Method Detail
-
getHub
protected PatriotHub getHub()
Accessor for implementation subclasses- Returns:
- PatriotHub instance
-
-