Esempio n. 1
0
        public async Task AddBookToSubscription_AddsBookToSubscription_WhenValidBook()
        {
            // arrange
            var subscriptionId = 1;
            var bookId         = 5;

            // act
            var isSuccessful = await _bookRepository.AddBookToSubscription(subscriptionId, bookId);

            // assert
            Assert.True(isSuccessful);
        }