using System; using System.Collections.Generic; using System.Linq; using BoundaryLab.Domain; using BoundaryLab.Application; using BoundaryLab.Infrastructure; var capacity = new MemoryCapacity(3); IReserve service = new ReserveService(capacity); Console.WriteLine($"first:{service.Reserve(2)}"); Console.WriteLine($"excess:{service.Reserve(2)}"); Console.WriteLine($"remaining:{capacity.Free}");