I don\'t know why the System.setOut() call is not working with the code snippet below. I\'m doing JUnit testing and need to validate the outputs with what\'s expected.