- assertThat
Creates a new instance of BooleanArrayAssert.
- assertThatThrownBy
Allows to capture and then assert on a Throwable like
assertThatThrownBy(ThrowingCallable) but this
- fail
- entry
Only delegate to MapEntry#entry(K key,V value) so that Assertions offers a full
feature entry point
- assertThatExceptionOfType
Entry point to check that an exception of type T is thrown by a given
throwingCallablewhich allows t
- catchThrowable
Allows catching a Throwable more easily when used with Java 8 lambdas. This
caught Throwable can the
- assertThatCode
Allows to capture and then assert on a Throwable (easier done with lambdas). The
main difference wit
- failBecauseExceptionWasNotThrown
Only delegate to Fail#failBecauseExceptionWasNotThrown(Class) so that Assertions
offers a full featu
- tuple
Utility method to build nicely a Tuple when working with
IterableAssert#extracting(String...) or Obj
- assertThatNullPointerException
Alias for #assertThatExceptionOfType(Class) for NullPointerException.
- offset
Assertions entry point for float Offset. Typical usage :
assertThat(8.2f).isCloseTo(8.0f, offset(
- assertThatIllegalArgumentException
Alias for #assertThatExceptionOfType(Class) for IllegalArgumentException.