public function generateRandomInt($min, $max)
{
try {
return $this->driverInstance->generateRandomInt($min, $max);
} catch (\Exception $e) {
throw new CryptException($e->getMessage());
}
}
public function testGenerateRandomInt3() { $crypt = new Crypt(); $randomInt = $crypt->generateRandomInt(10, 10); $this->assertSame(10, $randomInt); }