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