---
title: "testAddArguments(with:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustertestcluster/testaddarguments(with:completionhandler:)"
---

# testAddArguments(with:completionHandler:)

## Declaration

```swift
func testAddArguments(with params: MTRTestClusterClusterTestAddArgumentsParams, completionHandler: @escaping @Sendable (MTRTestClusterClusterTestAddArgumentsResponseParams?, (any Error)?) -> Void)
```

```swift
func testAddArguments(with params: MTRTestClusterClusterTestAddArgumentsParams) async throws -> MTRTestClusterClusterTestAddArgumentsResponseParams
```
