public void Imperson_Upload_Success_Test() { using (var copy = new Impersonator()) { Assert.True(copy.Impersonate(uncDomain, uncUser, uncPassword)); copy.Upload(uncPath, @"D:", @"test.txt"); } }