3PillarGlobal-Czechia / interview-app-api

API for Interview App.
MIT License
3 stars 1 forks source link

test: increase coverage for domain exception #96

Closed PlesnikJakub closed 2 years ago

PlesnikJakub commented 2 years ago

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

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication