Example #1
0
        object IExpectation.Apply()
        {
            if (expectation == null)
            {
                throw new InvalidOperationException("Expectation is uncomplete. Cofigure the expectation by calling either 'Throw()' or 'Return()' methods");
            }

            return(expectation.Apply());
        }