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

# testStructArgumentRequest(with:completion:)

## Declaration

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

```swift
func testStructArgumentRequest(with params: MTRUnitTestingClusterTestStructArgumentRequestParams) async throws -> MTRUnitTestingClusterBooleanResponseParams
```
