title: Phpunit, expect method(true) and method(false)
body: <p>I want to test this:</p>
  
  <pre><code>$object-&gt;method(true);
  $object-&gt;method(false);
  </code></pre>
  
  <p>I want to test them like that:</p>
  
  <pre><code>$mock1 = $this-&gt;getMock ('ClassToBeTested', array('method'));
  $mock1-&gt;expects ($this-&gt;at(1))-&gt;once()-&gt;method('method')-&gt;with($this-&gt;equalTo(false));
  $mock1-&gt;expects ($this-&gt;at(2))-&gt;once()-&gt;method('method')-&gt;with($this-&gt;equalTo(true));
  </code></pre>
  
  <p>this of course doesnt work. I need a kind of "multiple" exception.</p>