Verifies that unexpectedValue is not in the enumeration enumeration.
Namespace:
MbUnit.Framework
Assembly:
MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public static void DoesNotContain<T>(
IEnumerable<T> enumeration,
T unexpectedValue
)
|
| Visual Basic (Declaration) |
|---|
Public Shared Sub DoesNotContain(Of T) ( _
enumeration As IEnumerable(Of T), _
unexpectedValue As T _
) |
Parameters
- enumeration
- Type: System.Collections.Generic..::.IEnumerable<(Of <(T>)>)
The enumeration of items.
- unexpectedValue
- Type: T
The unexpected value.
Type Parameters
Exceptions
See Also