How to create method that could be used only for tests

Viewed 6807

Are the any ways to create method/contractor that could be used only in Junit ( test purpose only ) ?

Maybe there is an annotation?

3 Answers
Related