-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Is your feature request related to a problem? Please describe.
New exceptions were added to the code for handling some errors which could happen under certain specific situations.
Describe the solution you'd like
Please add the corresponding unit tests for testing those new exceptions which were added to the code
Additional context
Due to the difficulty of testing those new exceptions, it could be needed the usage of GMock library for Mocking calls to functions/methods. Also is suggested the refactoring of some methods to remove the current dependencies injection which exists in the code, and create new util functions to do the methods/function shorter (100 lines as maximum). Finally, if it is possible then create Interfaces for the current classes and change the current methods to virtual methods, that will make the methods easier to be mocked