public void ReadAllProperties_UnitTest() { string path = Assembly.GetExecutingAssembly().Location; var real = new Attachment(path); IAttachment instance = AttachmentWrapper.GetWrapper(real); ReadAllProperties(typeof(IAttachment), instance); }
internal static AttachmentWrapper GetInstance() { Attachment real = default(Attachment); RealInstanceFactory(ref real); var instance = (AttachmentWrapper)AttachmentWrapper.GetWrapper(real); InstanceFactory(ref instance); if (instance == null) { Assert.Inconclusive("Could not Create Test Instance"); } return(instance); }