Esempio n. 1
0
        /// <summary>
        ///   Perform an expectation in the trace.
        /// </summary>
        public static ISetupConditionResult <T> InSequence <T>(this Mock <T> mock, MockSequence sequence)
            where T : class
        {
            Guard.NotNull(sequence, nameof(sequence));

            return(sequence.For(mock));
        }
        /// <summary>
        /// Perform an expectation in the trace.
        /// </summary>
        public static ISetupConditionResult <TMock> InSequence <TMock>(
            this Mock <TMock> mock,
            MockSequence sequence)
            where TMock : class
        {
            Guard.NotNull(() => sequence, sequence);

            return(sequence.For(mock));
        }