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

testDoesExistFalse() public méthode

public testDoesExistFalse ( )
    public function testDoesExistFalse()
    {
        $this->connection->getSink(['sinkName' => $this->formattedName])->willThrow(new NotFoundException(null))->shouldBeCalledTimes(1);
        $sink = $this->getSink($this->connection);
        $this->assertFalse($sink->exists());
    }