| Package | Description |
|---|---|
| org.opendaylight.persistence.util.test |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Throwable> |
ThrowableTester.testThrows(Class<T> expectedThrowable,
ThrowableTester.Instruction instruction)
Executes an instruction verifying a
Throwable of the expected type is actually
thrown. |
static <T extends Throwable> |
ThrowableTester.testThrows(Class<T> expectedThrowable,
ThrowableTester.Instruction instruction,
ThrowableTester.Validator<T> throwableValidator)
Executes an instruction verifying a
Throwable of the expected type is actually
thrown. |
static <T extends Throwable> |
ThrowableTester.testThrowsAny(Class<T> expectedThrowable,
ThrowableTester.Instruction instruction)
Executes an instruction verifying a
Throwable of (or a subclass of) the expected type
is actually thrown. |
static <T extends Throwable> |
ThrowableTester.testThrowsAny(Class<T> expectedThrowable,
ThrowableTester.Instruction instruction,
ThrowableTester.Validator<T> throwableValidator)
Executes an instruction verifying a
Throwable of (or a subclass of) the expected type
is actually thrown. |
Copyright © 2015. All rights reserved.