Issue
After running test and generating coverage report via Jacoco, I realized that there is a static method where a @Data
annotation is used and the line of it is marked yellow indicating that it is not tested.
rel="nofollow noreferrer">Report
So, is it normal or how can I test that line?
Solution
Seems opinion based, but in my opinion there is no point for testing generated code from an external dependency. I would do noting about it and move on.
Answered By - Marcin Kunert
Answer Checked By - David Goodson (JavaFixing Volunteer)