Package ru.vyarus.dropwizard.guice.test
Interface StartupErrorRule.AfterExitAssertion
-
- Enclosing class:
- StartupErrorRule
- 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 StartupErrorRule.AfterExitAssertion
Interface implementation may be registered to check assertions after system exit.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
check(java.lang.String out, java.lang.String err)
Called after system exit call to perform custom assertions.
-
-
-
Method Detail
-
check
void check(java.lang.String out, java.lang.String err) throws java.lang.Exception
Called after system exit call to perform custom assertions.- Parameters:
out
- output stream content or empty stringerr
- error stream content (exception logged there)- Throws:
java.lang.Exception
- in case of error
-
-