---
title: "testNullableOptionalRequest(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterunittesting/testnullableoptionalrequest(completion:)"
---

# testNullableOptionalRequest(completion:)

## Declaration

```swift
func testNullableOptionalRequest(completion: @escaping @Sendable (MTRUnitTestingClusterTestNullableOptionalResponseParams?, (any Error)?) -> Void)
```

```swift
func testNullableOptionalRequest() async throws -> MTRUnitTestingClusterTestNullableOptionalResponseParams
```
