public function setUp()
{
$this->output = new BufferedOutput();
$this->timeUnit = new TimeUnit(TimeUnit::MICROSECONDS, TimeUnit::MILLISECONDS);
$this->logger = new BlinkenLogger($this->timeUnit);
$this->logger->setOutput($this->output);
$this->benchmark = $this->prophesize(Benchmark::class);
$this->subject = $this->prophesize(Subject::class);
$this->variant = new Variant($this->subject->reveal(), new ParameterSet(), 10, 0);
$this->variant->spawnIterations(4);
$this->benchmark->getSubjects()->willReturn([$this->subject->reveal()]);
$this->benchmark->getClass()->willReturn('BenchmarkTest');
$this->subject->getName()->willReturn('benchSubject');
$this->subject->getIndex()->willReturn(1);
$this->subject->getOutputTimeUnit()->willReturn('milliseconds');
$this->subject->getOutputTimePrecision()->willReturn(5);
$this->subject->getOutputMode()->willReturn('time');
$this->subject->getRetryThreshold()->willReturn(10);
}