Longman\TelegramBot\Tests\Unit\FileTest::testGetFilePathWithoutData PHP Method

testGetFilePathWithoutData() public method

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