Answer the question
In order to leave comments, you need to log in
Is it possible to change the trait in the test?
I have a class, part of the functionality in which implements trait.
To test everything, you need to replace this trait with your own (test).
How can I do that ?
Answer the question
In order to leave comments, you need to log in
Create a test successor of the class and in the successor you can overload the methods of the trait
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question