예제 #1
0
        public void should_run_all_expectations_when_running_example()
        {
            example.AddExpectation(passingExpectation);
            example.AddExpectation(failingExpectation);

            example.Run(exampleReporter);

            specify(() => passingExpectation.Received().Run());
            specify(() => failingExpectation.Received().Run());
        }