예제 #1
0
        public async void ThrowsGivenNullEntryServiceArguments()
        {
            var phoneBookService = new PhoneBookService(null, _mockPhoneBookRepo.Object);

            await Assert.ThrowsAsync <ArgumentNullException>(
                async() => await phoneBookService.SetPhoneBookAsync(null)
                );
        }