How to write Junit Test case for a Void Method
807597Sep 11 2005 — edited Aug 16 2007Hi, Groups,
I have written a java application, Now i want to test all the methods in the application using JUnit testing.
I can able to write the code to test the method which is having the return type such as String, int, boolean,Vector and Hashtable.
But I don't know how to test the void return type method.
Please give some samples and advice how to test the void methods
With Regards
Karthik