PHP code example of ergebnis / phpunit-framework-constraint

1. Go to this page and download the library: Download ergebnis/phpunit-framework-constraint library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ergebnis / phpunit-framework-constraint example snippets




declare(strict_types=1);

namespace Foo\Bar\Test\Unit;

use Ergebnis\PHPUnit\Framework\Constraint\Provider;
use PHPUnit\Framework\TestCase;

final class BazTest extends TestCase
{
    use Provider;
}