Interface AssertionResultData

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.688Z") @Stability(Experimental) public interface AssertionResultData extends
(experimental) The result of an assertion.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 AssertionResultData assertionResultData = AssertionResultData.builder()
         // the properties below are optional
  • Method Details

    • getStatus

      @Stability(Experimental) @NotNull Status getStatus()
      (experimental) The status of the assertion, i.e. pass or fail.
    • getMessage

      @Stability(Experimental) @Nullable default String getMessage()
      (experimental) Any message returned with the assertion result typically this will be the diff if there is any.

      Default: - none

    • builder

      @Stability(Experimental) static AssertionResultData.Builder builder()
      a AssertionResultData.Builder of AssertionResultData