Package ru.vyarus.dropwizard.guice.test
Annotation Interface EnableHook
Marker annotation for
GuiceyConfigurationHook test fields declaration.
Extra annotation required to remove uncertainty and apply some context (avoid confusion why it works).
Example usage: @EnableHook static GuiceyConfigurationHook HOOK = builder -> builder.modules(new Mod())
Field might be not static only if extension is registered in non-static field (application started for each test method), otherwise it must be static. Incorrect usage will be indicated with an exception.
- Since:
- 25.05.2020
- See Also: