first commit
This commit is contained in:
19
vendor/hanson/foundation-sdk/tests/HttpTest.php
vendored
Normal file
19
vendor/hanson/foundation-sdk/tests/HttpTest.php
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Hanson\Foundation;
|
||||
|
||||
use GuzzleHttp\Handler\MockHandler;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class HttpTest extends TestCase
|
||||
{
|
||||
public function testAddHandler()
|
||||
{
|
||||
$http = new Http();
|
||||
|
||||
$stack = $http->addHandler(new MockHandler());
|
||||
|
||||
var_dump($stack);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user