Question: in junit 5 testing how can we check our write method which takes 3 parameters which are String q , String a , and String
in junit testing how can we check our write method which takes parameters which are String q String a and String file name. The task of this method is to append the String q and String a to an exsisting csv file on our local disk. how can we use the junit to test this method for the correct result and what will be the assertion syntax to check the result
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
