Class ContainsException
Exception thrown when a collection unexpectedly does not contain the expected value.
Inherited Members
Namespace: Xunit.Sdk
Assembly: xunit.assert.dll
Syntax
public class ContainsException : AssertActualExpectedException
Constructors
| Improve this Doc View SourceContainsException(Object, Object)
Creates a new instance of the ContainsException class.
Declaration
public ContainsException(object expected, object actual)
Parameters
Type | Name | Description |
---|---|---|
Object | expected | The expected object value |
Object | actual | The actual value |