Verifies that an actual value contains at least one element.
Namespace:
MbUnit.FrameworkAssembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.459.0)
Syntax
| C# |
|---|
public static void IsNotEmpty( IEnumerable actualValue ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub IsNotEmpty ( _ actualValue As IEnumerable _ ) |
Parameters
- actualValue
- Type: System.Collections..::.IEnumerable
The actual value.
Exceptions
| Exception | Condition |
|---|---|
| Gallio.Framework.Assertions..::.AssertionException | Thrown if the verification failed unless the current AssertionFailureBehavior indicates otherwise. |
