getAll() public method

Returns all the tests registered in the container.
public getAll ( ) : array
return array
Beispiel #1
0
 public function testIfTwoTestsHaveTheSameNameTheContainerOnlyRegistersOneOfThem()
 {
     $container = new Container(array(new Test(1), new Test(1)));
     $this->assertCount(1, $container->getAll());
     $this->assertCount(1, $container->getAll());
 }