I have a java class full of void methods, and I want to make some unit test to get maximal code coverage.
For example I have this method :
protected
If it is possible in your case, you could make your methods method1(arg1) ... method7() protected instead of private so they could be accesible from test class within the same package. Then you can simply test all theese methods separately.
method1(arg1)
method7()