public void FailToMeetOrderedChildScopeWrongToFewNumberOfInvocations()
        {
            using (expectationScope.BeginOrdered())
            {
                AddExpectation(Expectation.ShouldMeetAtLeast(2, invocation1));
                AddExpectation(Expectation.ShouldMeetAtLeastOnce(invocation2));
            }


            TryMeetSucceeds(invocation1);

            TryMeetFails(invocation2);
        }
        public void FailToMeetUnorderedChildScopeWrongInvocation()
        {
            using (expectationScope.BeginUnordered())
            {
                AddExpectation(Expectation.ShouldMeetAtLeastOnce(invocation1));
                AddExpectation(Expectation.ShouldMeetAtLeastOnce(invocation2));
            }

            TryMeetSucceeds(invocation1);

            TryMeetSucceeds(invocation2);

            TryMeetFails(invocation3);
        }
        public void FailToMeetUnorderedChildScopeMissingInvocations()
        {
            using (expectationScope.BeginUnordered())
            {
                AddExpectation(Expectation.ShouldMeetAtLeastOnce(invocation1));
                AddExpectation(Expectation.ShouldMeetAtLeastOnce(invocation2));
                AddExpectation(Expectation.ShouldMeetAtLeastOnce(invocation3));
            }


            TryMeetSucceeds(invocation1);

            TryMeetSucceeds(invocation2);

            AssertHasNotBeenMet();
        }