Google\Cloud\Tests\Snippets\Logging\MetricTest::setUp PHP Method

setUp() public method

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