예제 #1
0
        public void GetTextbook()
        {
            var repo   = new TextbookRepository(_context);
            var result = repo.GetAll();

            Assert.IsTrue(result.Count() > 0);
        }
        public void TestMethod2()
        {
            var repo   = new TextbookRepository();
            var result = repo.GetByIsbn("K8D6%");

            Assert.IsTrue(result.Any());
        }
        public void TestMethod1()
        {
            var repo   = new TextbookRepository();
            var result = repo.GetByName("90H7%");

            Assert.IsTrue(result.Any());
        }
 public void GetTextbook()
 {
     var repo = new TextbookRepository(_context);
     var result = repo.GetAll();
     Assert.IsTrue(result.Count() > 0);
 }