Verifies that an actual value contains at least one element.

Namespace:  MbUnit.Framework
Assembly:  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

ExceptionCondition
Gallio.Framework.Assertions..::.AssertionExceptionThrown if the verification failed unless the current AssertionFailureBehavior indicates otherwise.

See Also