public async Task GetByIdAsync_WhenCalled_CallsBeerServiceGetByIdAsync() { await _controller.GetByIdAsync(_beer.BeerId); await _beerService.Received(1).GetByIdAsync(_beer.BeerId); }
public async Task GetByIdAsync_WhenCalled_CallsBeerServiceGetByIdAsync() { await _controller.GetByIdAsync(_beer.BeerId); await _beerService.Received(1).GetByIdAsync(_beer.BeerId); }