public function setUp()
{
$this->launcher = $this->prophesize(Launcher::class);
$this->filesystem = $this->prophesize(Filesystem::class);
$this->converter = $this->prophesize(TraceToXmlConverter::class);
$this->executor = new TraceExecutor($this->launcher->reveal(), $this->converter->reveal(), $this->filesystem->reveal());
$options = new OptionsResolver();
$this->executor->configure($options);
$this->config = new Config('test', $options->resolve([]));
$this->payload = $this->prophesize(Payload::class);
$this->iteration = $this->prophesize(Iteration::class);
$this->variant = $this->prophesize(Variant::class);
$this->subject = $this->prophesize(Subject::class);
$this->benchmark = $this->prophesize(Benchmark::class);
$this->dom = $this->prophesize(Document::class);
$this->iteration->getVariant()->willReturn($this->variant->reveal());
$this->variant->getSubject()->willReturn($this->subject->reveal());
$this->subject->getBenchmark()->willReturn($this->benchmark->reveal());
$this->parameterSet = $this->prophesize(ParameterSet::class);
$this->variant->getParameterSet()->willReturn($this->parameterSet->reveal());
$this->benchmark->getClass()->willReturn('Test');
$this->subject->getName()->willReturn('benchFoo');
$this->parameterSet->getIndex()->willReturn(1);
}