for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Guarded Authentication package.
*
* (c) Jafar Jabr <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Jafar\Bundle\GuardedAuthenticationBundle\Tests\Api\ApiResponse;
use Jafar\Bundle\GuardedAuthenticationBundle\Api\ApiResponse\ApiProblem;
use PHPUnit\Framework\TestCase;
/**
* Class ApiProblemTest.
* @author Jafar Jabr <[email protected]>
final class ApiProblemTest extends TestCase
{
public function testToArray()
$check = new ApiProblem(401);
$result = $check->toArray();
$this->assertEquals(is_array($result), true);
}