public void Stop(double maximumTime) { sw.Stop(); Assert.IsTrue(sw.Elapsed.TotalMilliseconds <= maximumTime); }