public void Beer_AllPropertiesMap(DaBeerStorage.Functions.Untappd.Models.BeerInfo.Beer beer)
        {
            var viewModel = SearchViewModel.FromBeerModel(beer);

            viewModel.Brewery.ShouldBe(beer.Brewery.BreweryName);
            viewModel.BeerName.ShouldBe(beer.BeerName);
            viewModel.Description.ShouldBe(beer.BeerDescription);
            viewModel.LabelPath.ShouldBe(beer.BeerLabel.AbsoluteUri);
            viewModel.Ibu.ShouldBe(beer.BeerIbu.ToString());
            viewModel.BreweryState.ShouldBe(beer.Brewery.Location.BreweryState);
            viewModel.Rating.ShouldBe(beer.AuthRating.ToString());
        }
        public async Task <SearchViewModel> SearchById(ById byId)
        {
            var results = await _repository.SearchById(byId.Id);

            return(SearchViewModel.FromBeerModel(results));
        }
        public void Beer_All_Properties_Should_Have_A_Value(DaBeerStorage.Functions.Untappd.Models.BeerInfo.Beer beer)
        {
            var viewModel = SearchViewModel.FromBeerModel(beer);

            VerifyMappings(viewModel);
        }