示例#1
0
        public async Task SellerProfile_Successfull(int sellerid)
        {
            try
            {
                mockSellerManager.Setup(x => x.ViewSellerProfile(sellerid));
                var result = await sellerController.ViewSellerProfile(sellerid);

                Assert.That(result, Is.Not.Null);
            }
            catch (Exception e)
            {
                Assert.Fail(e.Message);
            }
        }