Exemplo n.º 1
0
        public async Task DeleteAsync_WhenCalledWithValidId_CallsBeerServiceDeleteAsync()
        {
            await _controller.DeleteAsync(_beer.BeerId);

            await _beerService.Received(1).DeleteAsync(_beer.BeerId);
        }