Returns the Try passed to the constructor as a Failure, if it is a Failure, else throws TestFailedException with
a detail message indicating the Try was not a Failure.
Returns the Try passed to the constructor as a Failure, if it is a Failure, else throws TestFailedException with
a detail message indicating the Try was not a Failure.
Returns the Try passed to the constructor as a Success, if it is a Success, else throws TestFailedException with
a detail message indicating the Try was not a Success.
Returns the Try passed to the constructor as a Success, if it is a Success, else throws TestFailedException with
a detail message indicating the Try was not a Success.
Wrapper class that adds
successandfailuremethods toscala.util.Try, allowing you to make statements like: