title: Scala specs: nest in-statements
body: <p>is it possible to nest following specs test code</p>
  
  <pre><code>"ClassX" should {
    "throw an IllegalArgumentException if n &lt; 0" in {
      ClassX(-1) must throwA[IllegalArgumentException]
    }
    "throw an IllegalArgumentException if n &gt; 50" in {
      ClassX(51) must throwA[IllegalArgumentException]
    }
    "throw an IllegalArgumentException if n == 35" in {
      ClassX(35) must throwA[IllegalArgumentException]
    }
  }
  </code></pre>
  
  <p>in another in-Statement like:</p>
  
  <pre><code>"ClassX" should {
    "throw an IllegalArgumentException if" in {
      "n &lt; 0" in {
        ClassX(-1) must throwA[IllegalArgumentException]
      }
      "n &gt; 50" in  {
        ClassX(51) must throwA[IllegalArgumentException]
      }
      "n == 35" in  {
        ClassX(35) must throwA[IllegalArgumentException]
      }
    }
  }
  </code></pre>
  
  <p>Because it is easier to read and write</p>