Exemplo n.º 1
0
 public async Task PauseThenResume ()
 {
     var provider = new StreamProvider (Engine, "testDir", Torrent);
     await provider.StartAsync ();
     await provider.PauseAsync ();
     await provider.ResumeAsync ();
     Assert.IsTrue (provider.Active);
     Assert.IsFalse (provider.Paused);
 }