예제 #1
0
 [Test] public void CallMethodWithReturnBoxings()
 {
     mock.ExpectAndReturn("boolReturn", true);
     mock.ExpectAndReturn("doubleReturn", 1234567891234E+10);
     Assertion.Assert(thingy.boolReturn());
     Assertion.AssertEquals(1234567891234E+10, thingy.doubleReturn());
     mock.Verify();
 }