Asserts that two objects refer to the same object. If they
are not the same an AssertionException is thrown.
Namespace: MbUnit.Framework
Assembly: MbUnit.Framework (in MbUnit.Framework.dll)
Syntax
| C# | Visual Basic | Visual C++ |
Parameters
- expected
- Object
The expected object
- actual
- Object
The actual object
- format
- String
The format of the message to display if the assertion fails, containing zero or more format items.
Remarks
The error message is formatted using Format(String, array<Object>[]()[]).
See Also
Assert Class
MbUnit.Framework Namespace