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

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

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