mageekguy\atoum\runner::hasReports PHP Method

hasReports() public method

public hasReports ( )
    public function hasReports()
    {
        return sizeof($this->reports) > 0;
    }

Usage Example

Beispiel #1
0
 public function testHasReports()
 {
     $this->if($runner = new testedClass())->then->boolean($runner->hasReports())->isFalse()->if($runner->addReport(new atoum\reports\realtime\cli()))->then->boolean($runner->hasReports())->isTrue();
 }
runner