> ## Documentation Index
> Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Go: AssertionReturn

> CDKTN Core API Reference for AssertionReturn in Go.

Class representing the contents of a return by an assertion.

## Initializers <a name="Initializers" id="cdktn.testingMatchers.AssertionReturn.Initializer" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn/testingmatchers"

testingmatchers.NewAssertionReturn(message *string, pass *bool) AssertionReturn
```

| **Name**                                                                                                | **Type**              | **Description**                                                            |
| ------------------------------------------------------------------------------------------------------- | --------------------- | -------------------------------------------------------------------------- |
| <code><a href="#cdktn.testingMatchers.AssertionReturn.Initializer.parameter.message">message</a></code> | <code>\*string</code> | - String message containing information about the result of the assertion. |
| <code><a href="#cdktn.testingMatchers.AssertionReturn.Initializer.parameter.pass">pass</a></code>       | <code>\*bool</code>   | - Boolean pass denoting the success of the assertion.                      |

***

### `message`<sup>Required</sup> <a name="message" id="cdktn.testingMatchers.AssertionReturn.Initializer.parameter.message" />

* *Type:* \*string

String message containing information about the result of the assertion.

***

### `pass`<sup>Required</sup> <a name="pass" id="cdktn.testingMatchers.AssertionReturn.Initializer.parameter.pass" />

* *Type:* \*bool

Boolean pass denoting the success of the assertion.

***

## Properties <a name="Properties" id="Properties" />

| **Name**                                                                                   | **Type**              | **Description**                                                            |
| ------------------------------------------------------------------------------------------ | --------------------- | -------------------------------------------------------------------------- |
| <code><a href="#cdktn.testingMatchers.AssertionReturn.property.message">Message</a></code> | <code>\*string</code> | - String message containing information about the result of the assertion. |
| <code><a href="#cdktn.testingMatchers.AssertionReturn.property.pass">Pass</a></code>       | <code>\*bool</code>   | - Boolean pass denoting the success of the assertion.                      |

***

### `Message`<sup>Required</sup> <a name="Message" id="cdktn.testingMatchers.AssertionReturn.property.message" />

```go theme={null}
func Message() *string
```

* *Type:* \*string

String message containing information about the result of the assertion.

***

### `Pass`<sup>Required</sup> <a name="Pass" id="cdktn.testingMatchers.AssertionReturn.property.pass" />

```go theme={null}
func Pass() *bool
```

* *Type:* \*bool

Boolean pass denoting the success of the assertion.

***
