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

# testSpecific(with:completion:)

## Declaration

```swift
func testSpecific(with params: MTRUnitTestingClusterTestSpecificParams?, completion: @escaping @Sendable (MTRUnitTestingClusterTestSpecificResponseParams?, (any Error)?) -> Void)
```

```swift
func testSpecific(with params: MTRUnitTestingClusterTestSpecificParams?) async throws -> MTRUnitTestingClusterTestSpecificResponseParams
```
