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.

@FunctionalInterface public static interface TestSupport.OutputCallback
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 Type
    Method
    Description
    void
    run()
    Called to execute actions (usually app run) and capture console output.
  • Method Details

    • run

      void run() throws Exception
      Called to execute actions (usually app run) and capture console output.
      Throws:
      Exception - on error