Mocking out CommandLineInterface to PrintStream interface