/** * Add a Test to the list. * * Push the tally count up as well. * * @param Test $test */ public function addTest(Test $test) { $this->tally++; $this->tests[$test->getType()][$test->getHash()] = $test; }