Example #1
0
        public void Stop_Normal_OK()
        {
            // Arrange
            BackgroundDownloader downloader =
                new BackgroundDownloader(
                    TestApp.Repositories,
                    TestApp.PodCastDownloader,
                    TestApp.EpisodeSaver);

            downloader.Start();
            Thread.Sleep(100);

            // Act
            downloader.Stop();

            // Assert
            Thread.Sleep(1000);
        }