public class ExpectException extends Statement
Constructor and Description |
---|
ExpectException(Statement next,
Class<? extends Throwable> expected) |
Modifier and Type | Method and Description |
---|---|
void |
evaluate()
Run the action, throwing a
Throwable if anything goes wrong. |
Copyright © 2002–2017 JUnit. All rights reserved.