0

I have a file say input.txt while has commands:

load demo.png 
save test.png

my main method handles these lines perfectly and calls the appropriate controller. Now I have to write junit test cases for the main method. I have no idea how to approach this. I tried solution mentioned here- Testing main method by junit but it did not work.

ajay singh
  • 19
  • 4

0 Answers0