public ActionCreateAssignment Clone()
        {
            TestActionCreateAssignment aca = new TestActionCreateAssignment
            {
                Title          = this.Title,
                Deadline       = this.Deadline,
                DeadlineInDays = this.DeadlineInDays,
                Description    = this.Description,
                MonitoredBy    = new UserOrUserGroupIDExs(),
                AssignedTo     = new UserOrUserGroupIDExs()
            };

            for (int i = 1; i <= this.AssignedTo.Count; ++i)
            {
                UserOrUserGroupIDEx userGroupIdEx = this.AssignedTo[i];
                aca.AssignedTo.Add(-1, userGroupIdEx.Clone());
            }
            for (int i = 1; i <= this.MonitoredBy.Count; ++i)
            {
                UserOrUserGroupIDEx userGroupIdEx = this.MonitoredBy[i];
                aca.MonitoredBy.Add(-1, userGroupIdEx.Clone());
            }

            return(aca);
        }
        public ActionSendNotification Clone()
        {
            TestActionSendNotification asn = new TestActionSendNotification
            {
                Message      = this.Message,
                RecipientsEx = new UserOrUserGroupIDExs(),
                Subject      = this.Subject
            };

            for (int i = 1; i <= this.RecipientsEx.Count; ++i)
            {
                UserOrUserGroupIDEx userGroupIdEx = this.RecipientsEx[i];
                asn.RecipientsEx.Add(-1, userGroupIdEx.Clone());
            }
            return(asn);
        }