PhpBench\Tests\Unit\Progress\Logger\BlinkenLoggerTest::testIterationException PHP Метод

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

It should show an error if the iteration has an exception.
    public function testIterationException()
    {
        $this->variant->setException(new \Exception('foo'));
        $this->logger->variantEnd($this->variant);
        $this->assertContains('ERROR', $this->output->fetch());
    }