assertNormal
Asserts that the call resulted in a result of type type and returns the result. Otherwise, an AssertionFailedError containing the message supplied by messageSupplier will be thrown. messageSupplier is allowed to supply null.
Return
the result resulted by the call
Parameters
a supplier for the message if the throwable was not thrown
Throws
if the call resulted in a throwable
Asserts that the call resulted in a result of type type and returns the result. Otherwise, an AssertionFailedError containing message will be thrown.
Return
the result resulted by the call
Parameters
the message if the expected throwable was not thrown
Throws
if the call resulted in a throwable
Asserts that the call resulted in a result of type type and returns the result. Otherwise, an AssertionFailedError will be thrown.
Return
the result resulted by the call
Throws
if the call resulted in a throwable