public function addSuite(Suite $suite) { $this->suites[] = $suite; }
/** * It should add suites. */ public function testAddSuite() { $collection = new SuiteCollection(); $collection->addSuite($this->suite1->reveal()); $this->assertSame([$this->suite1->reveal()], $collection->getSuites()); }