public void Run() { var runs = Substitute.For<IRuns>(); runs.MinimumPeriodInSeconds.Returns(10); runs.Run(); var t = new RecurringRunner(runs); t.Run(); runs.Received().Run(); }
public void Run() { var runs = Substitute.For <IRuns>(); runs.MinimumPeriodInSeconds.Returns(10); runs.Run(); var t = new RecurringRunner(runs); t.Run(); runs.Received().Run(); }