Exemplo n.º 1
0
        private void DoAssertion(IFakeObjectCall fakeObjectCall)
        {
            var asserter = this.asserterFactory.Invoke(this.fakeObject.RecordedCallsInScope.Cast <IFakeObjectCall>());

            asserter.AssertWasCalled(this.recordedRule.IsApplicableTo, fakeObjectCall.ToString(), this.recordedRule.RepeatPredicate, "the number of times specified by predicate");
        }