public void TestDownloadSlideToFolder() { var ip = LaunchFakeServer(); Connection.EstablishClientConnection(ip); ViewerController.StartLoadingSlides(); string path = Helper.GetCurrentFolder() + @"Animals(" + DateTime.Now.ToShortDateString() + ")"; Assert.IsTrue(Directory.Exists(path)); var din = new DirectoryInfo(path); Assert.AreEqual(20, din.GetFiles().GetLength(0)); }