예제 #1
0
            public async Task ReturnsNullIfNotFound()
            {
                var isbn   = "test";
                var bookId = await BooksClient.GetBookIdForIsbn(isbn);

                Assert.Null(bookId);
            }
예제 #2
0
            public async Task ReturnsABookId()
            {
                var isbn   = "0765326353";
                var bookId = await BooksClient.GetBookIdForIsbn(isbn);

                Assert.NotNull(bookId);
                Assert.Equal(bookId, 7235533);
            }