Skip to main content
Class representing the contents of a return by an assertion.

Initializers

using Io.Cdktn;

new AssertionReturn(string Message, bool Pass);
NameTypeDescription
Messagestring- String message containing information about the result of the assertion.
Passbool- Boolean pass denoting the success of the assertion.

MessageRequired

  • Type: string
String message containing information about the result of the assertion.

PassRequired

  • Type: bool
Boolean pass denoting the success of the assertion.

Properties

NameTypeDescription
Messagestring- String message containing information about the result of the assertion.
Passbool- Boolean pass denoting the success of the assertion.

MessageRequired

public string Message { get; }
  • Type: string
String message containing information about the result of the assertion.

PassRequired

public bool Pass { get; }
  • Type: bool
Boolean pass denoting the success of the assertion.