HI....... I'm trying to write test cases for void methods . So any one can give the solution for how to write.......
Here is my sample code
public void objIntoFile() throws Exception
file = new File("D:\\ExtractingDB\\export.txt");
writer = new BufferedWriter(new FileWriter(file));