/** * @expectedException Exception */ public function testWithoutStrongCryptographicNumber() { SecureRandom::generateRandom(0); }