internal static FieldCollection GetRealInstance()
        {
            FieldCollection real;
            WorkItem        workItem = WorkItemWrapper_UnitTests.GetRealInstance();

            real = workItem.Fields;
            return(real);
        }
 public void BatchSave_UnitTest()
 {
     IWorkItem[] workitems = default(IWorkItem[]);
     ExecuteMethod(
         () => { return((IWorkItemStore)GetInstance()); },
         instance =>
     {
         workitems = new[] { (IWorkItem)WorkItemWrapper_UnitTests.GetInstance() };
         BatchSave_PreCondition(instance, ref workitems);
     },
         instance => { instance.BatchSave(workitems); },
         instance => { BatchSave_PostValidate(instance, workitems); });
 }
        static partial void RealInstanceFactory(ref WorkItemLinkData real, string callerName)
        {
            WorkItem workItem = WorkItemWrapper_UnitTests.GetRealInstance();

            real = workItem.LinkData;
        }