ObjectAssertions<T>.BeTheSameInstanceAs Method
Definition
Asserts that the value is the same instance as the expected value.
public ObjectAssertionsChain<T> BeTheSameInstanceAs(T? expected);
Parameters
| Name | Type | Description |
|---|---|---|
| expected | T | The expected instance. |
Returns
An ObjectAssertionsChain<T> for chaining further assertions.