PhpBench\Tests\Unit\Progress\Logger\VerboseLoggerTest::testLogError PHP Method

testLogError() public method

It should log exceptions as ERROR.
public testLogError ( )
    public function testLogError()
    {
        $this->variant->hasErrorStack()->willReturn(true);
        $this->variant->getSubject()->willReturn($this->subject->reveal());
        $this->subject->getName()->willReturn('benchFoo');
        $this->output->write(Argument::containingString('ERROR'))->shouldBeCalled();
        $this->output->write(PHP_EOL)->shouldBeCalled();
        $this->logger->variantEnd($this->variant->reveal());
    }