Fishbowl.exceptionThrownBy(Statement)
if the provided Statement
did not throw an exception.ExceptionNotThrownFailure
.Fishbowl.exceptionThrownBy(Statement, java.lang.Class)
if the provided Statement
did throw an exception that does not have the specified type.ExceptionWithWrongTypeThrownFailure
.Fishbowl
provides helper methods for dealing with exceptions.Fishbowl.exceptionThrownBy(Statement)
.Fishbowl.exceptionThrownBy(Statement)
.WrappedException
, that
is thrown instead.WrappedException
, that
is thrown instead.Copyright © 2014–2017. All rights reserved.