Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
vendor
/
unicodeveloper
/
laravel-paystack
/
tests
:
HelpersTest.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Unicodeveloper\Paystack\Test; use Mockery as m; use PHPUnit\Framework\TestCase; class HelpersTest extends TestCase { protected $paystack; public function setUp(): void { $this->paystack = m::mock('Unicodeveloper\Paystack\Paystack'); $this->mock = m::mock('GuzzleHttp\Client'); } public function tearDown(): void { m::close(); } /** * Tests that helper returns * * @test * @return void */ function it_returns_instance_of_paystack () { $this->assertInstanceOf("Unicodeveloper\Paystack\Paystack", $this->paystack); } }