/** * Adds a new $test. * * @param \Namshi\AB\Test $test */ public function add(Test $test) { if ($this->getSeed()) { $test->setSeed($this->calculateTestSeed($this->getSeed(), $test)); } $this->tests[$test->getName()] = $test; }