protected override void EstablishContext() { base.EstablishContext(); Name = "Name"; Password = "******"; NewPassword = "******"; UsersRunner.Setup(r => r.ChangePassword(Name, Password, NewPassword)).Returns(true); }
protected override void EstablishContext() { base.EstablishContext(); Name = "Name"; Password = "******"; User = new User(); UsersRunner.Setup(r => r.LogOn(Name, Password)).Returns(User); }