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

Initializers

import io.cdktn.cdktn.testing_matchers.AssertionReturn;

new AssertionReturn(java.lang.String message, java.lang.Boolean pass);
NameTypeDescription
messagejava.lang.String- String message containing information about the result of the assertion.
passjava.lang.Boolean- Boolean pass denoting the success of the assertion.

messageRequired

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

passRequired

  • Type: java.lang.Boolean
Boolean pass denoting the success of the assertion.

Properties

NameTypeDescription
messagejava.lang.String- String message containing information about the result of the assertion.
passjava.lang.Boolean- Boolean pass denoting the success of the assertion.

messageRequired

public java.lang.String getMessage();
  • Type: java.lang.String
String message containing information about the result of the assertion.

passRequired

public java.lang.Boolean getPass();
  • Type: java.lang.Boolean
Boolean pass denoting the success of the assertion.