public void Setup() { MockRepository mock = new MockRepository(); IDataModel stubDb = mock.Stub<IDataModel>(); IDataQueryRepository stubReposit = mock.Stub<IDataQueryRepository>(); MyInfoController = new myInfoController(stubDb, stubReposit); }
public void Setup() { MockRepository mock = new MockRepository(); IDataModel stubDb = mock.Stub <IDataModel>(); IDataQueryRepository stubReposit = mock.Stub <IDataQueryRepository>(); MyInfoController = new myInfoController(stubDb, stubReposit); }
public void TearDown() { MyInfoController = null; }
public void TearDown() { MyInfoController = null; }