Sum() public method

public Sum ( int first, int second ) : int
first int
second int
return int
        public void Sum()
        {
            var handWritten = new HandWritten();
            var proxy       = new HandWrittenProxy(handWritten, new InvocationHandler(async invocation =>
            {
                var value = (int)await invocation.Proceed();
                return(value + 3);
            }));
            var result = proxy.Sum(1, 2);

            Assert.AreEqual(6, result);
        }
 public void Sum()
 {
     var handWritten = new HandWritten();
     var proxy = new HandWrittenProxy(handWritten, new InvocationHandler(async invocation =>
     {
         var value = (int)await invocation.Proceed();
         return value + 3;
     }));
     var result = proxy.Sum(1, 2);
     Assert.AreEqual(6, result);
 }