Beispiel #1
0
        public IVerifies AtMostOnce()
        {
            #pragma warning disable 0618
            return(VerifiableWrapper.WrapVerifiesForVerification(Wrapped.AtMostOnce()));

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

            #pragma warning restore 0618
        }
Beispiel #3
0
 public IReturnsResult <TMock> CallBase()
 {
     return(VerifiableWrapper.WrapReturnsForVerification(Wrapped.CallBase()));
 }
Beispiel #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)));
 }
Beispiel #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)));
 }
Beispiel #6
0
 public ICallbackResult Callback <T>(Action <T> action)
 {
     return(VerifiableWrapper.WrapCallbackResultForVerification(Wrapped.Callback(action)));
 }
Beispiel #7
0
 public ICallbackResult Callback(Delegate callback)
 {
     return(VerifiableWrapper.WrapCallbackResultForVerification(Wrapped.Callback(callback)));
 }
Beispiel #8
0
 public IReturnsResult <TMock> Returns(Delegate valueFunction)
 {
     return(VerifiableWrapper.WrapReturnsForVerification(Wrapped.Returns(valueFunction)));
 }
Beispiel #9
0
 public IThrowsResult Throws(Exception exception)
 {
     return(VerifiableWrapper.WrapThrowsForVerification(Wrapped.Throws(exception)));
 }
Beispiel #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)));
 }
Beispiel #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)));
 }
Beispiel #12
0
 public IVerifies Raises(Action <TResult> eventExpression, params object[] args)
 {
     return(VerifiableWrapper.WrapVerifiesForVerification(Wrapped.Raises(eventExpression, args)));
 }
Beispiel #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)));
 }
Beispiel #14
0
 public IReturnsResult <TMock> Returns <T1, T2, T3, T4>(Func <T1, T2, T3, T4, TReturn> valueFunction)
 {
     return(VerifiableWrapper.WrapReturnsForVerification(Wrapped.Returns(valueFunction)));
 }
Beispiel #15
0
 public IReturnsResult <TMock> Returns(TProperty value)
 {
     return(VerifiableWrapper.WrapReturnsForVerification(Wrapped.Returns(value)));
 }
Beispiel #16
0
 public void Verifiable()
 {
     Wrapped.Verifiable();
     VerifiableWrapper.Verifiable();
 }
Beispiel #17
0
 public IReturnsResult <TMock> Returns(Func <TProperty> valueFunction)
 {
     return(VerifiableWrapper.WrapReturnsForVerification(Wrapped.Returns(valueFunction)));
 }
Beispiel #18
0
 public void Verifiable(string failMessage)
 {
     Wrapped.Verifiable(failMessage);
     VerifiableWrapper.Verifiable(failMessage);
 }
Beispiel #19
0
 public IThrowsResult Throws <TException>() where TException : Exception, new()
 {
     return(VerifiableWrapper.WrapThrowsForVerification(Wrapped.Throws <TException>()));
 }
 public ICallBaseResult CallBase()
 {
     return(VerifiableWrapper.WrapCallBaseResultForVerification(Wrapped.CallBase()));
 }