title: Scalatest - how to test println
body: <p>Is there something in Scalatest that will allow me to test the output to the standard out via a <code>println</code> statement?</p>
  
  <p>So far I've mainly been using <code>FunSuite with ShouldMatchers</code>.</p>
  
  <p>e.g. how do we check the printed output of </p>
  
  <pre><code>object Hi {
    def hello() {
      println("hello world")
    }
  }
  </code></pre>