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

# test(completionHandler:)

## Declaration

```swift
func test(completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func test() async throws
```
