PhpBench\Tests\Unit\Progress\Logger\PhpBenchLoggerTest::testEndSuite PHP Method

testEndSuite() public method

It should show a summary at the end of the suite.
public testEndSuite ( )
    public function testEndSuite()
    {
        $this->setUpSummary();
        $this->suite->getErrorStacks()->willReturn([]);
        $this->output->writeln(Argument::any())->shouldBeCalled();
        $this->logger->endSuite($this->suite->reveal());
    }

Usage Example

Exemplo n.º 1
0
 /**
  * It should output an empty line at the end of the suite.
  */
 public function testEndSuite()
 {
     $this->output->write(PHP_EOL)->shouldBeCalled();
     parent::testEndSuite();
 }