public void ReadAllProperties_UnitTest() { IWorkItem workItem = GetTestWorkItem(); FieldCollection real = WorkItemWrapper.GetInstance(workItem).Fields; IFieldCollection instance = FieldCollectionWrapper.GetWrapper(real); ReadAllProperties(typeof(IFieldCollection), instance); }
internal static FieldCollectionWrapper GetInstance() { FieldCollection real = default(FieldCollection); RealInstanceFactory(ref real); var instance = (FieldCollectionWrapper)FieldCollectionWrapper.GetWrapper(real); InstanceFactory(ref instance); if (instance == null) { Assert.Inconclusive("Could not Create Test Instance"); } return(instance); }
static partial void InstanceFactory(ref FieldCollectionWrapper instance, [CallerMemberName] string callerName = "");