Google\Cloud\Tests\Logging\SinkTest::testDoesExistTrue PHP Method

testDoesExistTrue() public method

public testDoesExistTrue ( )
    public function testDoesExistTrue()
    {
        $this->connection->getSink(['sinkName' => $this->formattedName])->willReturn(['name' => $this->sinkName])->shouldBeCalledTimes(1);
        $sink = $this->getSink($this->connection);
        $this->assertTrue($sink->exists());
    }