public void Copy_UnitTest1()
        {
            IWorkItem    instance   = GetTestWorkItem();
            WorkItemType targetType = FindWorkItemType("Task");

            instance.Copy(WorkItemTypeWrapper.GetWrapper(targetType));
        }
        public void Copy_UnitTest2()
        {
            IWorkItem                instance   = GetTestWorkItem();
            WorkItemType             targetType = FindWorkItemType("Task");
            const IWorkItemCopyFlags flags      = IWorkItemCopyFlags.None;

            instance.Copy(WorkItemTypeWrapper.GetWrapper(targetType), flags);
        }
        internal static WorkItemTypeWrapper GetInstance()
        {
            WorkItemType real = default(WorkItemType);

            RealInstanceFactory(ref real);
            var instance = (WorkItemTypeWrapper)WorkItemTypeWrapper.GetWrapper(real);

            InstanceFactory(ref instance);
            if (instance == null)
            {
                Assert.Inconclusive("Could not Create Test Instance");
            }
            return(instance);
        }