test
Returns if the given type is of the expected type.
Return
if the given type is of the expected type
Parameters
object
the type to test
Returns if the given exception is as expected.
Return
if the given exception is of the expected
Parameters
exception
the exception to test