


  </p>
</div><div class="ddoc_examples">
  <h4>Examples</h4>
  <p class="para">
    
<section class="code_listing">
  <div class="code_sample">
    <div class="dlang">
      <ol class="code_lines">
        <li><code class="code"><span class="comment">// Makes sure it throws with the message "boom!"
</span><span class="psymbol">shouldThrow</span>(<span class="keyword">delegate</span>() {
	<span class="keyword">throw</span> <span class="keyword">new</span> Exception(<span class="string_litera