Package ru.vyarus.dropwizard.guice.test
Interface TestSupport.OutputCallback
- Enclosing class:
- TestSupport
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback for
TestSupport.captureOutput(ru.vyarus.dropwizard.guice.test.TestSupport.OutputCallback) method.
Void method must declare thrown error to simplify testing.-
Method Summary
Modifier and TypeMethodDescriptionvoidrun()Called to execute actions (usually app run) and capture console output.
-
Method Details
-
run
Called to execute actions (usually app run) and capture console output.- Throws:
Exception- on error
-