Subiendo proyecto completo sin restricciones de git ignore
This commit is contained in:
33
vendor/unicodeveloper/laravel-paystack/tests/HelpersTest.php
vendored
Normal file
33
vendor/unicodeveloper/laravel-paystack/tests/HelpersTest.php
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user