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 11:01 AM by shubham_bhadauria | Created: Sep 22, 2014 at 10: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 4:15 AM by kk_karthikumar | Created: Apr 16, 2014 at 4: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 7:59 AM by sockenfresser | Created: Feb 11, 2014 at 6: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 7:22 AM by pwolfe | Created: May 8, 2012 at 11:30 PM 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 21, 2013 at 11:12 PM by pwolfe | Created: Mar 2, 2011 at 5:23 PM by sgmeyer