I am trying to write test case for the below method.
File file = new File(filePath); if (file.createNewFile()) { FileWriter writer = new FileWri