Click or drag to resize

CollectionAssert Class

Verifies true/false propositions associated with collections in unit tests.
Inheritance Hierarchy
SystemObject
  Enkoni.Framework.TestingCollectionAssert

Namespace:  Enkoni.Framework.Testing
Assembly:  Enkoni.Framework.Testing (in Enkoni.Framework.Testing.dll) Version: 1.3.0.1
Syntax
public static class CollectionAssert
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