public void GivenEnoughCredits_WhenBuyingAnApple_AppleIsAdded() { _shopService.Buy(_interaction); _inventoryRepository.Verify(repo => repo.AddItem(_user, "lucky_dice")); }
public void GivenEnoughCredits_WhenBuyingAnApple_AppleIsAdded() { _shopService.Buy(_user, "lucky_dice"); _inventoryRepository.Verify(repo => repo.AddItem(_user, It.IsAny <LuckyCoin>())); }