Added `WorkflowsClientTests` to validate the behavior of the `WorkflowsClient` class, covering PDF validation and Swiss QR code extraction. Introduced test doubles for `IPdfValidationClient` and `ISwissQrCodeClient` using `Moq`. Implemented tests for all overloads of `ExtractSwissQrCodeValidatedAsync`: - Byte array, stream, and file path inputs. - Valid, invalid, and empty PDFs. - Raw mode and cancellation token handling. - Exception propagation and orchestration contracts. Ensured comprehensive test coverage for all branches and edge cases.
21 KiB
21 KiB