Example #1
0
        public void TestMethod_DeleteBook()
        {
            Book book = new Book
            {
                BookId = bookId
            };
            BookRequest bookRequest = new BookRequest
            {
                OwnerAddress = sellerAddress,
                Book         = book
            };

            StoreController controller = new StoreController();
            var             response   = controller.DeleteBook(bookRequest);
            bool            successful = response.IsSuccessStatusCode;

            Assert.AreEqual(true, successful);
        }