i am not able to create stubs using nmock3 framework. using a code like :
Mockfactory factory = new Mockfactory ();
Stub<Calculation> _stub = factory.createstub<Calculation>();
in the second line...
Id #11879 | Release:
| Updated: Sep 22, 2014 at 12:01 PM by shubham_bhadauria | Created: Sep 22, 2014 at 11:59 AM by shubham_bhadauria
I am not able to use lamda expressions inside the Expects.MethodWith . If i am passing the lamda expressions it is always throwing exception.
Ex : Expect.On(this.shedulerAppService)
Id #11671 | Release:
| Updated: Apr 16, 2014 at 5:15 AM by kk_karthikumar | Created: Apr 16, 2014 at 5:15 AM by kk_karthikumar
void IAction.Invoke(Invocation invocation)
if (_invokeFunc != null)
invocation.Result = _invokeFunc(invocation);
invocation.Result = _func;...
Id #11570 | Release:
| Updated: Mar 24, 2014 at 8:59 AM by sockenfresser | Created: Feb 11, 2014 at 7:17 PM by wawang
When a Mock is created with mockStyle = MockStyle.Transparent, the underlying implementation is executed even when an Expect or Stub statement is used to override certain functions or properties. ...
Id #10152 | Release:
| Updated: Jun 14, 2013 at 8:22 AM by pwolfe | Created: May 9, 2012 at 12:30 AM by brianFaires
I believe there is an issue with the Expects.Exactly(int) functionality. The code appears to check that the actual number of calls does not exceed the number of expected calls. Consider the follo...
Id #8190 | Release:
| Updated: Feb 22, 2013 at 12:12 AM by pwolfe | Created: Mar 2, 2011 at 6:23 PM by sgmeyer