Click or drag to resize
CMSAssertWithMessage Method
Executes assertion and adds additional message if assertion fails

Namespace: CMS.Tests
Assembly: CMS.Tests (in CMS.Tests.dll) Version: 9.0.0
Syntax
C#
public static void WithMessage(
	string message,
	Action assertionToRun
)

Parameters

message
Type: SystemString
Extra message in case assertion fails
assertionToRun
Type: SystemAction
Assertion to be executed
See Also