Esempio n. 1
0
        public void GetSeller_FailCase()
        {
            var sellerrepo = new SellerRepository(sellercontextmock.Object);
            var sellerlist = sellerrepo.GetSeller();

            Assert.AreNotEqual(2, sellerlist.Count);
        }
Esempio n. 2
0
        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);
        }