public void GetSeller_FailCase() { var sellerrepo = new SellerRepository(sellercontextmock.Object); var sellerlist = sellerrepo.GetSeller(); Assert.AreNotEqual(2, sellerlist.Count); }
public string Search() { Seller se = ser.GetSeller(1); return(se.sid + "\n" + se.sname + "\n" + se.spassword + "\n" + se.scompanyname + "\n" + se.saddress + "\n" + se.sgstin); }
public void TestGetSeller() { Seller s = srep.GetSeller(3); Assert.NotNull(s); }