/** * @expectedException \Munisense\Zigbee\Exception\ZigbeeException */ public function testGetAttributeReportingConfigurationRecord_Failure() { $record = AttributeReportingConfigurationStatusRecord::constructWithError(ZCLStatus::UNREPORTABLE_ATTRIBUTE, AttributeRecord::DIRECTION_SERVER_TO_CLIENT, 0x12); // Should throw an exception $record->getAttributeReportingConfigurationRecord(); }