public void Dispose_ShouldWork_WithoutRun() { try { sut.Dispose(); } catch (Exception) { Assert.Fail(); } }
public void Dispose_ShouldWork_WithoutRun() { Exception exception = Record.Exception(() => sut.Dispose()); Assert.Null(exception); }