public function testReverse()
 {
     $elem = AttributeRecord::construct(AttributeRecord::DIRECTION_SERVER_TO_CLIENT, self::ATTRIBUTE_ID);
     $old_frame = $elem->getFrame();
     $new_elem = new AttributeRecord($old_frame);
     $this->assertEquals($old_frame, $new_elem->getFrame());
 }
 public function testReverse()
 {
     $old_zcl = ReadReportingConfigurationCommand::construct([AttributeRecord::construct(AttributeRecord::DIRECTION_CLIENT_TO_SERVER, 0x102), AttributeRecord::construct(AttributeRecord::DIRECTION_SERVER_TO_CLIENT, 0x304)]);
     $old_zcl_frame = $old_zcl->getFrame();
     $new = new ReadReportingConfigurationCommand($old_zcl_frame);
     $this->assertEquals($old_zcl_frame, $new->getFrame());
 }