public function testUseSubjectTimeUnit()
{
$this->variant->getRejectCount()->willReturn(0);
$this->variant->hasErrorStack()->willReturn(false);
$this->variant->getStats()->willReturn($this->stats->reveal());
$this->variant->getSubject()->willReturn($this->subject->reveal());
$this->variant->count()->willReturn(10);
$this->variant->getParameterSet()->willReturn($this->parameterSet->reveal());
$this->subject->getOutputTimeUnit()->willReturn(TimeUnit::MICROSECONDS);
$this->subject->getOutputTimePrecision()->willReturn(null);
$this->subject->getOutputMode()->willReturn(TimeUnit::MODE_THROUGHPUT);
$this->subject->getName()->willReturn('benchFoo');
$this->parameterSet->getIndex()->willReturn(0);
$this->output->writeln(Argument::containingString('1.000 (ops/μs)'))->shouldBeCalled();
$this->logger->variantEnd($this->variant->reveal());
}