org.assertj.core.api
Class ThrowableAssert

java.lang.Object
  extended by org.assertj.core.api.AbstractAssert<S,A>
      extended by org.assertj.core.api.AbstractThrowableAssert<ThrowableAssert,Throwable>
          extended by org.assertj.core.api.ThrowableAssert
All Implemented Interfaces:
Assert<ThrowableAssert,Throwable>, Descriptable<ThrowableAssert>, ExtensionPoints<ThrowableAssert,Throwable>

public class ThrowableAssert
extends AbstractThrowableAssert<ThrowableAssert,Throwable>

Assertion methods for Throwables.

To create a new instance of this class, invoke Assertions.assertThat(Throwable).

Author:
David DIDIER, Alex Ruiz, Joel Costigliola, Mikhail Mazursky

Field Summary
 
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself
 
Constructor Summary
protected ThrowableAssert(Throwable actual)
           
 
Method Summary
 
Methods inherited from class org.assertj.core.api.AbstractThrowableAssert
hasCauseExactlyInstanceOf, hasCauseInstanceOf, hasMessage, hasMessageContaining, hasMessageEndingWith, hasMessageStartingWith, hasNoCause, hasRootCauseExactlyInstanceOf, hasRootCauseInstanceOf
 
Methods inherited from class org.assertj.core.api.AbstractAssert
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowableAssert

protected ThrowableAssert(Throwable actual)


Copyright © 2013–2015 AssertJ. All rights reserved.