public final class ThrowableSubject extends Subject<ThrowableSubject,Throwable>
Throwable subjects.failureStrategy| Constructor and Description | 
|---|
ThrowableSubject(FailureStrategy failureStrategy,
                Throwable throwable)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
hasMessage(String expected)
Fails if the subject does not have the given message. 
 | 
actual, actualAsString, actualCustomStringRepresentation, check, equals, fail, fail, fail, failWithBadResults, failWithCustomSubject, failWithoutActual, failWithoutSubject, failWithRawMessage, getDisplaySubject, getSubject, hashCode, internalCustomName, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs, namedpublic ThrowableSubject(FailureStrategy failureStrategy, @Nullable Throwable throwable)
Copyright © 2016. All rights reserved.