示例#1
0
        public void FluentAssertions_Can_Check_Execution_Time_Of_Methods()
        {
            var sut = new SomePotentiallyVerySlowClass();

            sut.ExecutionTimeOf(s => s.ExpensiveMethod()).ShouldNotExceed(500.Milliseconds());
        }