CollectionAssertIsNotEmpty Method (ICollection, String) |
Verifies that the specified collection is not empty.
Namespace:
Enkoni.Framework.Testing
Assembly:
Enkoni.Framework.Testing (in Enkoni.Framework.Testing.dll) Version: 1.3.0.1
Syntaxpublic static void IsNotEmpty(
ICollection value,
string message
)
Public Shared Sub IsNotEmpty (
value As ICollection,
message As String
)
public:
static void IsNotEmpty(
ICollection^ value,
String^ message
)
static member IsNotEmpty :
value : ICollection *
message : string -> unit
Parameters
- value
- Type: System.CollectionsICollection
The collection that is expected not to be empty. - message
- Type: SystemString
A message to display if the assertion fails. This message can be seen in the unit test results.
See Also