public void TestInit() { _repo = new Mock <ILPPUser>(); _repo.Setup(m => m.SignInAsync("testvip", "Password1")).ReturnsAsync(true); _user = new LPPUserBO(_repo.Object); }
/// <summary> /// Default page Load /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void Page_Load(object sender, EventArgs e) { _user = new LPPUserBO(); }