---
title: "testNestedStructArgumentRequest(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterunittesting/testnestedstructargumentrequest(with:completion:)"
---

# testNestedStructArgumentRequest(with:completion:)

## Declaration

```swift
func testNestedStructArgumentRequest(with params: MTRUnitTestingClusterTestNestedStructArgumentRequestParams, completion: @escaping @Sendable (MTRUnitTestingClusterBooleanResponseParams?, (any Error)?) -> Void)
```

```swift
func testNestedStructArgumentRequest(with params: MTRUnitTestingClusterTestNestedStructArgumentRequestParams) async throws -> MTRUnitTestingClusterBooleanResponseParams
```
