PHP code example of mrgoodbytes8667 / test-common-faker
1. Go to this page and download the library: Download mrgoodbytes8667/test-common-faker 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/ */
mrgoodbytes8667 / test-common-faker example snippets
class SampleTest extends KernelTestCase
{
use \Bytes\Common\Faker\TestFakerTrait;
public function testSomething()
{
$number = $this->faker->numberBetween();
self::assertLessThan(0, $number);
}
}