Click or drag to resize

CollectionAssert Methods

Methods
  NameDescription
Public methodStatic memberDoesHaveSize(ICollection, Int32)
Verifies that the specified collection contains expectedSize elements.
Public methodStatic memberDoesHaveSize(ICollection, Int32, String)
Verifies that the specified collection contains expectedSize elements.
Public methodStatic memberDoesNotHaveSize(ICollection, Int32)
Verifies that the specified collection does not contain unexpectedSize elements.
Public methodStatic memberDoesNotHaveSize(ICollection, Int32, String)
Verifies that the specified collection does not contain unexpectedSize elements.
Public methodStatic memberIsEmpty(ICollection)
Verifies that the specified collection is empty.
Public methodStatic memberIsEmpty(ICollection, String)
Verifies that the specified collection is empty.
Public methodStatic memberIsNotEmpty(ICollection)
Verifies that the specified collection is not empty.
Public methodStatic memberIsNotEmpty(ICollection, String)
Verifies that the specified collection is not empty.
Top
See Also