public async Task Test_IsCorrect_DeleteAllBooks()
        {
            await client.DeleteAllBooks();

            var actualListBook = await client.GetAllBooks();

            Assert.IsTrue(actualListBook.Count == 0);
        }
Beispiel #2
0
        public async Task Test_IsCorrect_BookAdd()
        {
            await client.AddBooks(GetBookCollection());

            Assert.IsNotNull(await client.GetAllBooks());
        }