I have two classes:
Entity- represents the database object
DTO - represents the response from a vendor API
After the Sonar pineline was executed however a duplicate message appeared.
I have two test classes with responsibilities different and need to have the same code.
How can I solve this problem?
Hey there.
It’s hard to understand the issue without snippets of code. Can you share some code that reproduced the issue?