CollectionAssertDoesNotHaveSize Method (ICollection, Int32) |
Verifies that the specified collection does not contain unexpectedSize elements.
Namespace:
Enkoni.Framework.Testing
Assembly:
Enkoni.Framework.Testing (in Enkoni.Framework.Testing.dll) Version: 1.3.0.1
Syntaxpublic static void DoesNotHaveSize(
ICollection value,
int unexpectedSize
)
Public Shared Sub DoesNotHaveSize (
value As ICollection,
unexpectedSize As Integer
)
public:
static void DoesNotHaveSize(
ICollection^ value,
int unexpectedSize
)
static member DoesNotHaveSize :
value : ICollection *
unexpectedSize : int -> unit
Parameters
- value
- Type: System.CollectionsICollection
The collection that is expected not to have unexpectedSize elements. - unexpectedSize
- Type: SystemInt32
The number of elements value is not expected to have.
See Also