Checks if received is a TExpected or a sub-type of it. If it is, a FailingExpectationException is thrown.
Note: null is considered not to be a sub-type of any class or interface.
See Implementation
Checks if received is a TExpected or a sub-type of it. If it is, a FailingExpectationException is thrown.
Note: null is considered not to be a sub-type of any class or interface.