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

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

## Declaration

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

```swift
func testSimpleArgumentRequest(with params: MTRTestClusterClusterTestSimpleArgumentRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestSimpleArgumentResponseParams
```
