<!--
{
  "availability" : [
    "iOS: 16.1.0 - 16.4.0",
    "iPadOS: 16.1.0 - 16.4.0",
    "macCatalyst: 16.1.0 - 16.4.0",
    "macOS: 13.0.0 - 13.3.0",
    "tvOS: 16.1.0 - 16.4.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 9.1.0 - 9.4.0"
  ],
  "documentType" : "symbol",
  "framework" : "Matter",
  "identifier" : "/documentation/Matter/MTRClusterTestCluster",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Matter"
    ],
    "preciseIdentifier" : "c:objc(cs)MTRClusterTestCluster"
  },
  "title" : "MTRClusterTestCluster"
}
-->

# MTRClusterTestCluster

```
class MTRClusterTestCluster
```

## Topics

### Initializers

[`-  initWithDevice:endpoint:queue:`](/documentation/Matter/MTRClusterTestCluster/init(device:endpoint:queue:))

### Instance Methods

[`-  simpleStructEchoRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/simpleStructEchoRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/test(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testWithExpectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/test(withExpectedValues:expectedValueInterval:completionHandler:))

[`-  testAddArgumentsWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testAddArguments(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testComplexNullableOptionalRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testComplexNullableOptionalRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testEmitTestEventRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testEmitTestEventRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testEmitTestFabricScopedEventRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testEmitTestFabricScopedEventRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testEnumsRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testEnumsRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testListInt8UArgumentRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testListInt8UArgumentRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testListInt8UReverseRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testListInt8UReverseRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testListNestedStructListArgumentRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testListNestedStructListArgumentRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testListStructArgumentRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testListStructArgumentRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testNestedStructArgumentRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testNestedStructArgumentRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testNestedStructListArgumentRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testNestedStructListArgumentRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testNotHandledWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testNotHandled(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testNotHandledWithExpectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testNotHandled(withExpectedValues:expectedValueInterval:completionHandler:))

[`-  testNullableOptionalRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testNullableOptionalRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testNullableOptionalRequestWithExpectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testNullableOptionalRequest(withExpectedValues:expectedValueInterval:completionHandler:))

[`-  testSimpleArgumentRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testSimpleArgumentRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testSimpleOptionalArgumentRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testSimpleOptionalArgumentRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testSimpleOptionalArgumentRequestWithExpectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testSimpleOptionalArgumentRequest(withExpectedValues:expectedValueInterval:completionHandler:))

[`-  testSpecificWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testSpecific(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testSpecificWithExpectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testSpecific(withExpectedValues:expectedValueInterval:completionHandler:))

[`-  testStructArgumentRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testStructArgumentRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testStructArrayArgumentRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testStructArrayArgumentRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testUnknownCommandWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testUnknownCommand(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  testUnknownCommandWithExpectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/testUnknownCommand(withExpectedValues:expectedValueInterval:completionHandler:))

[`-  timedInvokeRequestWithParams:expectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/timedInvokeRequest(with:expectedValues:expectedValueInterval:completionHandler:))

[`-  timedInvokeRequestWithExpectedValues:expectedValueInterval:completionHandler:`](/documentation/Matter/MTRClusterTestCluster/timedInvokeRequest(withExpectedValues:expectedValueInterval:completionHandler:))

## Relationships

### Inherits From

[`MTRClusterUnitTesting`](/documentation/Matter/MTRClusterUnitTesting)

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)