PhpBench\Model\SuiteCollection::getSuites PHP Method

getSuites() public method

Return the suites.
public getSuites ( ) : Suite[]
return Suite[]
    public function getSuites()
    {
        return $this->suites;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * It should merge another colleciton into itself.
  */
 public function testMergeCollection()
 {
     $collection = new SuiteCollection([$this->suite1->reveal()]);
     $newCollection = new SuiteCollection([$this->suite2->reveal(), $this->suite3->reveal()]);
     $collection->mergeCollection($newCollection);
     $this->assertEquals([$this->suite1->reveal(), $this->suite2->reveal(), $this->suite3->reveal()], $collection->getSuites());
 }
All Usage Examples Of PhpBench\Model\SuiteCollection::getSuites