Commit Graph
1 Commits
Author SHA1 Message Date
shancheas 7f37985d22 Add PhoneNumber value object with validation and unit tests
- Implemented PhoneNumber class for creating and validating E.164 formatted phone numbers.
- Added InvalidPhoneNumberError for handling invalid phone number inputs.
- Created comprehensive unit tests covering various scenarios for phone number creation, validation, and equality checks.
- Ensured immutability and proper serialization of the PhoneNumber object.
2026-08-20 18:31:54 +07:00