PhpBench\Tests\Unit\Progress\Logger\TravisLoggerTest::testIterationsEndException PHP Method

testIterationsEndException() public method

It should log errors.
    public function testIterationsEndException()
    {
        $this->variant->hasErrorStack()->willReturn(true);
        $this->variant->getRejectCount()->willReturn(0);
        $this->variant->getSubject()->willReturn($this->subject->reveal());
        $this->variant->count()->willReturn(10);
        $this->subject->getName()->willReturn('benchFoo');
        $this->output->writeln(Argument::containingString('ERROR'))->shouldBeCalled();
        $this->logger->variantEnd($this->variant->reveal());
    }