So I have the following to code capture System.out.println() output from one of my method that prints to console login.printAccountsByName(); but I
System.out.println()
login.printAccountsByName();