Summary
Creates EqualSpecification<T>
negation:
Checks if candidate object is not equal to expected object.
- Namespace
- FluentSpecification
- Containing Type
- Specification
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<T> NotEqual<T>(T notExpected, IEqualityComparer<T> comparer = null)
Attributes
Type | Description |
---|---|
PublicAPI | |
NotNull |
Type Parameters
Name | Description |
---|---|
T | Type of candidate. |
Parameters
Name | Type | Description |
---|---|---|
notExpected | T | Not expected object. |
comparer | IEqualityComparer |
Equality comparer. |
Return Value
Type | Description |
---|---|
I |
New complex Specification . |