using Meezi.API.Services; namespace Meezi.API.Tests; internal sealed class NoOpInventoryService : IInventoryService { public Task> ListAsync(string cafeId, CancellationToken ct = default) => Task.FromResult>([]); public Task> LowStockAsync(string cafeId, CancellationToken ct = default) => Task.FromResult>([]); public Task CreateAsync(string cafeId, CreateIngredientRequest request, CancellationToken ct = default) => Task.FromResult(null); public Task UpdateAsync(string cafeId, string ingredientId, UpdateIngredientRequest request, CancellationToken ct = default) => Task.FromResult(null); public Task DeleteAsync(string cafeId, string ingredientId, CancellationToken ct = default) => Task.FromResult(false); public Task AdjustAsync(string cafeId, string ingredientId, AdjustStockRequest request, string? userId, CancellationToken ct = default) => Task.FromResult(null); public Task GetPurchasesSummaryAsync( string cafeId, string branchId, DateOnly from, DateOnly to, CancellationToken ct = default) => Task.FromResult(new InventoryPurchasesSummaryDto(0, 0, [])); public Task GetRecipeAsync(string cafeId, string menuItemId, CancellationToken ct = default) => Task.FromResult(null); public Task SetRecipeAsync(string cafeId, string menuItemId, SetMenuItemRecipeRequest request, CancellationToken ct = default) => Task.FromResult(null); public Task DeductForOrderAsync( string cafeId, string orderId, IReadOnlyList<(string MenuItemId, int Quantity)> lines, CancellationToken ct = default) => Task.FromResult(new OrderDeductionResult(false, [])); }