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

testDoesExistFalse() public method

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