Google\Cloud\Tests\Snippets\Logging\MetricTest::setUp PHP Метод

setUp() публичный Метод

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