public function setUp() { $this->connection = $this->prophesize(ConnectionInterface::class); $this->metric = new \MetricStub($this->connection->reveal(), self::METRIC, self::PROJECT); }