Beispiel #1
0
 public void ThatWithReturn()
 {
     Assert.That(() => Console.Read(), Throws.Nothing);
     Assert.That(() => SimpleFile.IsBusy(), Throws.Nothing);
     Assert.That(() => Write(), Throws.Nothing);
 }
Beispiel #2
0
 public bool Test2()
 {
     return(SimpleFile.IsBusy());
 }