---
title: "testEmitTestFabricScopedEventRequest(with:expectedValues:expectedValueInterval:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclustertestcluster/testemittestfabricscopedeventrequest(with:expectedvalues:expectedvalueinterval:completionhandler:)"
---

# testEmitTestFabricScopedEventRequest(with:expectedValues:expectedValueInterval:completionHandler:)

## Declaration

```swift
func testEmitTestFabricScopedEventRequest(with params: MTRTestClusterClusterTestEmitTestFabricScopedEventRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completionHandler: @escaping @Sendable (MTRTestClusterClusterTestEmitTestFabricScopedEventResponseParams?, (any Error)?) -> Void)
```

```swift
func testEmitTestFabricScopedEventRequest(with params: MTRTestClusterClusterTestEmitTestFabricScopedEventRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestEmitTestFabricScopedEventResponseParams
```
