How to enable allopen only for tets


#1

Is there any way to enable allopen only for the tests? I want to open my classes in test to allow Mockito to mock them but I want them closed for my production code.

Related with: