The unit test covers domain exceptions. Specifically, the constructor that is used for purpose of deserialization.
The test creates an instance of exception, extracts info, and created a new instance from that data.
Exception messages are asserted to be equal.
Types of changes
[x] Tests
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Refactoring (non-breaking change to code and structure)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Summary
This PR adds a unit test to increase coverage.
The unit test covers domain exceptions. Specifically, the constructor that is used for purpose of deserialization. The test creates an instance of exception, extracts info, and created a new instance from that data. Exception messages are asserted to be equal.
Types of changes