Skip to content

Commit d5b7fda

Browse files
author
cleilson pereira
committed
Add integration and unit tests for Pacs00900109 message builder
- Implemented integration tests for the complete workflow of the Pacs00900109 message builder, ensuring XML generation is successful with various inputs. - Created unit tests for the Pacs00900109Builder, covering methods for setting message ID, creation date, batch booking, transaction details, and more. - Added assertions to validate the correctness of generated XML and the behavior of the builder methods. - Included tests for handling exceptions when required fields are missing during XML building.
1 parent 8a3f6c1 commit d5b7fda

6 files changed

Lines changed: 1397 additions & 2 deletions

File tree

Iso20022Library.Application/Builders/MessageBuilderFactory.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ public class MessageBuilderFactory
5353
{ MessageType.Pacs00300108, () => new Pacs.Pacs00300108Builder() },
5454
{ MessageType.Pacs00400110, () => new Pacs.Pacs00400110Builder() },
5555
{ MessageType.Pacs00700110, () => new Pacs.Pacs00700110Builder() },
56-
{ MessageType.Pacs00800109, () => new Pacs00800109Builder() }
56+
{ MessageType.Pacs00800109, () => new Pacs00800109Builder() },
57+
{ MessageType.Pacs00900109, () => new Pacs00900109Builder() }
5758
};
5859

5960
/// <summary>

0 commit comments

Comments
 (0)