This project is read-only.
1
Vote

Not able to create stubs

description

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, intellisense does not show the option of createstub<>. Is there any site to which i can refer for syntax and short examples of stubs ?

file attachments

comments

shubham_bhadauria wrote Sep 22, 2014 at 12:01 PM

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, intellisense does not show the option of createstub<>. Is there any site to which i can refer for syntax and short examples of stubs ?