4require_once(
"libs/composer/vendor/autoload.php");
7use PHPUnit\Framework\TestCase;
16 protected function setUp() : void
24 $pwd = $this->f->password(
$pass);
25 $this->assertEquals(
$pass, $pwd->toString());
31 $pwd = $this->f->password(123);
32 $this->assertFalse(
"This should not happen");
33 }
catch (\InvalidArgumentException
$e) {
34 $this->assertTrue(
true);
An exception for terminatinating execution or to throw for unit testing.
Tests working with color data object.