public async void ThrowsGivenNullEntryServiceArguments() { var phoneBookService = new PhoneBookService(null, _mockPhoneBookRepo.Object); await Assert.ThrowsAsync <ArgumentNullException>( async() => await phoneBookService.SetPhoneBookAsync(null) ); }