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