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

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

## Declaration

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

```swift
func testAddArguments(with params: MTRTestClusterClusterTestAddArgumentsParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestAddArgumentsResponseParams
```
