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