for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CanalTP\AbstractGuzzle\Tests;
use CanalTP\AbstractGuzzle\GuzzleFactory;
class GuzzleFactoryTest extends \PHPUnit_Framework_TestCase
{
public function testCreateGuzzleReturnsInitializedInstanceOfAbstractGuzzle()
$baseUri = 'http://my-base-url.tld';
$guzzle = GuzzleFactory::createGuzzle($baseUri);
createGuzzle()
$options
This check looks for function calls that miss required arguments.
$this->assertInstanceOf('CanalTP\\AbstractGuzzle\\Guzzle', $guzzle);
$this->assertEquals($baseUri, $guzzle->getBaseUri());
}
This check looks for function calls that miss required arguments.