Longman\TelegramBot\Tests\Unit\FileTest::testGetFilePathWithoutData PHP Méthode

testGetFilePathWithoutData() public méthode

Testing getFilePath without data
    public function testGetFilePathWithoutData()
    {
        unset($this->data['file_path']);
        $file = new File($this->data);
        $path = $file->getFilePath();
        $this->assertNull($path);
    }