Beispiel #1
0
 public void Play_ClickTest()
 {
     Player_Accessor target = new Player_Accessor();
     object sender = new Button();
     RoutedEventArgs e = null;
     target._pausePlayTicker = null;
     Assert.AreEqual(null, target._pausePlayTicker);
     target.Play_Click(sender, e);
     Assert.IsTrue(target._pausePlayTicker is ManualResetEvent);
 }