Google\Cloud\Tests\Snippets\Speech\SpeechClientTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->testFile = "'" . __DIR__ . '/../fixtures/Speech/demo.flac' . "'";
        $this->connection = $this->prophesize(ConnectionInterface::class);
        $this->client = new \SpeechClientStub();
        $this->client->setConnection($this->connection->reveal());
    }