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?
function testGetKeywordCount()
{
$tester = $this->getDatabaseTester($this->CompleteDataFile);
$tester->onSetUp();
$KeywordID = 0;
$this->setExpectedException('InvalidArgumentException');
$this->keyword->getKeywordCount($KeywordID,'Active');
$KeywordID = 1;
$this->setExpectedException('InvalidArgumentException');
$this->keyword->getKeywordCount($KeywordID,'InvalidStatus');
$this->assertEquals(1, $this->keyword->getKeywordCount($KeywordID,'Active'));
$tester->onTearDown();
}
G-Man