コード例 #1
0
        public async Task UpdateAsync_WhenCalledWithValidBeer_CallsBeerServiceUpdateAsync()
        {
            await _controller.UpdateAsync(_beer.BeerId, _beerRequest);

            await _beerService.Received(1).UpdateAsync(_beer.BeerId, _beerRequest);
        }