public function setUp() { $this->benchmark = $this->getMock('Fabfuel\\Prophiler\\Benchmark\\BenchmarkInterface'); $this->profiler = $this->getMock('Fabfuel\\Prophiler\\ProfilerInterface'); $this->formatter = new TimelineFormatter($this->profiler); $this->formatter->setBenchmark($this->benchmark); }
public function setUp() { $this->benchmark = $this->getMock('Fabfuel\\Prophiler\\Benchmark\\BenchmarkInterface'); $this->formatter = new LogFormatter(); $this->formatter->setBenchmark($this->benchmark); }