---
title: "testStructArgumentRequest(with:expectedValues:expectedValueInterval:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclustertestcluster/teststructargumentrequest(with:expectedvalues:expectedvalueinterval:completionhandler:)"
---

# testStructArgumentRequest(with:expectedValues:expectedValueInterval:completionHandler:)

## Declaration

```swift
func testStructArgumentRequest(with params: MTRTestClusterClusterTestStructArgumentRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completionHandler: @escaping @Sendable (MTRTestClusterClusterBooleanResponseParams?, (any Error)?) -> Void)
```

```swift
func testStructArgumentRequest(with params: MTRTestClusterClusterTestStructArgumentRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterBooleanResponseParams
```
