b0y-101 Mini Shell


Current Path : E:/www/b-group.old/spfin - Copy/mainpay/guzzle/tests/Handler/
File Upload :
Current File : E:/www/b-group.old/spfin - Copy/mainpay/guzzle/tests/Handler/EasyHandleTest.php

<?php

namespace GuzzleHttp\Test\Handler;

use GuzzleHttp\Handler\EasyHandle;
use PHPUnit\Framework\TestCase;

/**
 * @covers \GuzzleHttp\Handler\EasyHandle
 */
class EasyHandleTest extends TestCase
{
    public function testEnsuresHandleExists()
    {
        $easy = new EasyHandle();
        unset($easy->handle);

        $this->expectException(\BadMethodCallException::class);
        $this->expectExceptionMessage('The EasyHandle has been released');
        $easy->handle;
    }
}

Copyright © 2019 by b0y-101