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

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

## Declaration

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

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