コード例 #1
0
        public IVerifies AtMostOnce()
        {
            #pragma warning disable 0618
            return(VerifiableWrapper.WrapVerifiesForVerification(Wrapped.AtMostOnce()));

            #pragma warning restore 0618
        }
コード例 #2
0
        public IVerifies AtMost(int callCount)
        {
            #pragma warning disable 0618
            return(VerifiableWrapper.WrapVerifiesForVerification(Wrapped.AtMost(callCount)));

            #pragma warning restore 0618
        }
コード例 #3
0
 public IReturnsResult <TMock> CallBase()
 {
     return(VerifiableWrapper.WrapReturnsForVerification(Wrapped.CallBase()));
 }
コード例 #4
0
 public ICallbackResult Callback <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(Action <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> action)
 {
     return(VerifiableWrapper.WrapCallbackResultForVerification(Wrapped.Callback(action)));
 }
コード例 #5
0
 public ICallbackResult Callback <T1, T2, T3, T4, T5, T6>(Action <T1, T2, T3, T4, T5, T6> action)
 {
     return(VerifiableWrapper.WrapCallbackResultForVerification(Wrapped.Callback(action)));
 }
コード例 #6
0
 public ICallbackResult Callback <T>(Action <T> action)
 {
     return(VerifiableWrapper.WrapCallbackResultForVerification(Wrapped.Callback(action)));
 }
コード例 #7
0
 public ICallbackResult Callback(Delegate callback)
 {
     return(VerifiableWrapper.WrapCallbackResultForVerification(Wrapped.Callback(callback)));
 }
コード例 #8
0
 public IReturnsResult <TMock> Returns(Delegate valueFunction)
 {
     return(VerifiableWrapper.WrapReturnsForVerification(Wrapped.Returns(valueFunction)));
 }
コード例 #9
0
 public IThrowsResult Throws(Exception exception)
 {
     return(VerifiableWrapper.WrapThrowsForVerification(Wrapped.Throws(exception)));
 }
コード例 #10
0
 public IVerifies Raises <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(Action <TResult> eventExpression, Func <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, EventArgs> func)
 {
     return(VerifiableWrapper.WrapVerifiesForVerification(Wrapped.Raises(eventExpression, func)));
 }
コード例 #11
0
 public IVerifies Raises <T1, T2, T3, T4, T5>(Action <TResult> eventExpression, Func <T1, T2, T3, T4, T5, EventArgs> func)
 {
     return(VerifiableWrapper.WrapVerifiesForVerification(Wrapped.Raises(eventExpression, func)));
 }
コード例 #12
0
 public IVerifies Raises(Action <TResult> eventExpression, params object[] args)
 {
     return(VerifiableWrapper.WrapVerifiesForVerification(Wrapped.Raises(eventExpression, args)));
 }
コード例 #13
0
 public IReturnsResult <TMock> Returns <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(Func <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TReturn> valueFunction)
 {
     return(VerifiableWrapper.WrapReturnsForVerification(Wrapped.Returns(valueFunction)));
 }
コード例 #14
0
 public IReturnsResult <TMock> Returns <T1, T2, T3, T4>(Func <T1, T2, T3, T4, TReturn> valueFunction)
 {
     return(VerifiableWrapper.WrapReturnsForVerification(Wrapped.Returns(valueFunction)));
 }
コード例 #15
0
 public IReturnsResult <TMock> Returns(TProperty value)
 {
     return(VerifiableWrapper.WrapReturnsForVerification(Wrapped.Returns(value)));
 }
コード例 #16
0
 public void Verifiable()
 {
     Wrapped.Verifiable();
     VerifiableWrapper.Verifiable();
 }
コード例 #17
0
 public IReturnsResult <TMock> Returns(Func <TProperty> valueFunction)
 {
     return(VerifiableWrapper.WrapReturnsForVerification(Wrapped.Returns(valueFunction)));
 }
コード例 #18
0
 public void Verifiable(string failMessage)
 {
     Wrapped.Verifiable(failMessage);
     VerifiableWrapper.Verifiable(failMessage);
 }
コード例 #19
0
 public IThrowsResult Throws <TException>() where TException : Exception, new()
 {
     return(VerifiableWrapper.WrapThrowsForVerification(Wrapped.Throws <TException>()));
 }
コード例 #20
0
 public ICallBaseResult CallBase()
 {
     return(VerifiableWrapper.WrapCallBaseResultForVerification(Wrapped.CallBase()));
 }