*/ include_once "@PHP_MODULE_FILE_NAME@"; include_once "StringSource.php"; /** * @coversDefaultClass VirgilRandom */ class VirgilRandom_Test extends PHPUnit\Framework\TestCase { /** * @covers VirgilRandom::randomize */ public function test_() { $random = new VirgilRandom("com.virgilsecurity.random"); $randomData = $random->randomize(1024); $this->assertEquals(strlen($randomData), 1024); } } ?>