PhpBench\Tests\Unit\Progress\Logger\DotsLoggerTest::testIterationsEndException PHP Метод

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

It should log an error.
    public function testIterationsEndException()
    {
        $logger = $this->createLogger(false);
        $this->variant->hasErrorStack()->willReturn(true);
        $this->variant->getRejectCount()->willReturn(0);
        $this->output->write("\r<error>E</error> ")->shouldBeCalled();
        $logger->variantEnd($this->variant->reveal());
    }