---
title: "testSimpleOptionalArgumentRequest(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterunittesting/testsimpleoptionalargumentrequest(with:completion:)"
---

# testSimpleOptionalArgumentRequest(with:completion:)

## Declaration

```swift
func testSimpleOptionalArgumentRequest(with params: MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams?, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func testSimpleOptionalArgumentRequest(with params: MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams?) async throws
```
