I would like to use JUnit in order to test a void function which possess 2 println :
System.out.println("Name :" + name);
System.out.println("Adress :" + adress);
These are the two println I woulld like to test. The only JUnit method I used so far is assertEquals... however I don't know know how to write it in this case