protected function setUp() { $this->statsdClient = $this->prophesize(Client::class); $this->stopwatch = $this->prophesize(Stopwatch::class); $this->subscriber = new TimingSubscriber($this->statsdClient->reveal(), $this->stopwatch->reveal()); }