Hi There!
I use nested classes for accessing private members in JUnit tests. They are alaways named "TestProxy".
I would like to remove them at Build time using maven2, to not include it into the jar file.
-Is there any configuration option?
-Can it be done with a plugin? If so, a prototype would be nice! ;-)
Thanks
Edit: Why use private methods? I need to inject data from 3rd party systems, that just can't be called for every JUnit test run. And i really don't want a public setter for private data, or sooner or later another programmer may misuse it.