for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace League\Fractal\Test\Hal;
use League\Fractal\Hal\Currie;
class CurrieTest extends \PHPUnit_Framework_TestCase
{
/**
* @expectedException InvalidArgumentException
*/
public function testNotValidStringParam()
new Currie(true, 'href', true, []);
}
public function testNotValidBoolParam()
new Currie('name', 'href', 'true', []);