ヤミRoot VoidGate
User / IP
:
216.73.217.162
Host / Server
:
15.235.182.215 / pollibazaar.com
System
:
Linux asia.cbnex.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
pollibazaar
/
public_html
/
vendor
/
devrabiul
/
laravel-paystack
/
tests
/
Viewing: PaystackTest.php
<?php namespace Unicodeveloper\Paystack\Test; use Mockery as m; use PHPUnit\Framework\TestCase; use Unicodeveloper\Paystack\Paystack; class PaystackTest extends TestCase { protected Paystack|\Mockery\MockInterface $paystack; /** * Mocked HTTP client (if needed) * * @var \Mockery\MockInterface|\GuzzleHttp\Client */ protected \Mockery\MockInterface $mock; protected function setUp(): void { parent::setUp(); $this->paystack = m::mock(Paystack::class); $this->mock = m::mock('GuzzleHttp\Client'); } protected function tearDown(): void { m::close(); parent::tearDown(); } public function testAllCustomersAreReturned(): void { $this->paystack->shouldReceive('getAllCustomers')->andReturn(['prosper']); $result = $this->paystack->getAllCustomers(); $this->assertIsArray($result); $this->assertContains('prosper', $result); } public function testAllTransactionsAreReturned(): void { $this->paystack->shouldReceive('getAllTransactions')->andReturn(['transactions']); $result = $this->paystack->getAllTransactions(); $this->assertIsArray($result); $this->assertContains('transactions', $result); } public function testAllPlansAreReturned(): void { $this->paystack->shouldReceive('getAllPlans')->andReturn(['intermediate-plan']); $result = $this->paystack->getAllPlans(); $this->assertIsArray($result); $this->assertContains('intermediate-plan', $result); } }
Coded With 💗 by
0x6ick