- Add ToStream() helper method to convert byte[] → MemoryStream - Update all test method calls to use ToStream(pdfBytes) - Fix null/empty stream tests (use Stream directly instead of byte[]) - Update exception expectations (ArgumentNullException for null streams, BadRequestException for empty streams) - Update namespace imports (Application.Common.DTOs instead of Domain.Models.ValueObjects)