public override void SetUp() { this.session = this.Stub <ISession>(); this.sessionFactory = this.Stub <ISessionFactoryEx>(); this.target = new Daobase <object>(); this.target.SessionFactory = this.sessionFactory; }
public override void SetUp() { this.session = this.Stub <ISession>(); this.sessionFactory = this.Stub <ISessionFactoryEx>(); this.query = this.Stub <IQuery>(); this.target = new ClientDao(); this.target.SessionFactory = this.sessionFactory; }