CMSAssertWithMessage Method |
Executes assertion and adds additional message if assertion fails
Namespace: CMS.TestsAssembly: CMS.Tests (in CMS.Tests.dll) Version: 9.0.0
Syntax 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