Google\Cloud\Tests\Logging\SinkTest::testDoesExistTrue PHP Méthode

testDoesExistTrue() public méthode

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());
    }