PhpBench\Model\SuiteCollection::getSuites PHP Метод

getSuites() публичный Метод

Return the suites.
public getSuites ( ) : Suite[]
Результат Suite[]
    public function getSuites()
    {
        return $this->suites;
    }

Usage Example

Пример #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