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