unit testing - How to write jUnit tests for private methods -
possible duplicate:
what's best way of unit testing private methods?
as private method's visibility not allow them seen outside of class, how can write tests make sure work expected?
suppose making them protected or public not option. additionally suppose test code must reside separately production code.
please advise , if possible, provide example
Comments
Post a Comment