public interface Snippet
Runnable
but the run method can throw stuff.
Allows you to pass in arbitrary snippets of code in fluent interfaces.
See Assertions.assertThrown(Snippet)
for an example.
Modifier and Type | Method and Description |
---|---|
void |
run()
Run.
|
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.