Esempio n. 1
0
        public static void Return(this IArrangement arrangement, object value)
        {
            arrangement.SetReturnValue(value);

            MockInvocationCache.Add(arrangement);
        }
Esempio n. 2
0
        public static void Arrange <TProxy>(this TProxy proxy, Expression <Action <TProxy> > expression) where TProxy : class
        {
            var arrangement = expression.CreateArrangementMethodVoid(proxy);

            MockInvocationCache.Add(arrangement);
        }