title: Assert multiple conditions in a single test, or split into multiple tests?
body: <p>If you were testing a count function like the one below, is it considered to be 'right' or 'wrong' to test multiple things for the function in one function vs having a test function for each of the tests?</p>
  
  <pre><code>function testGetKeywordCount() {
      $tester = $this -&gt; getDatabaseTester($this -&gt; CompleteDataFile);
      $tester -&gt; onSetUp();
  
      $KeywordID = 0;
      $this -&gt; setExpectedException('InvalidArgumentException');
      $this -&gt; keyword -&gt; getKeywordCount($KeywordID,'Active');
  
      $KeywordID = 1;
      $this -&gt; setExpectedException('InvalidArgumentException');
      $this -&gt; keyword -&gt; getKeywordCount($KeywordID,'InvalidStatus');
  
      $this -&gt; assertEquals(1, $this -&gt; keyword -&gt; getKeywordCount($KeywordID,'Active'));
  
      $tester -&gt; onTearDown();
  }
  </code></pre>