public function testHasOpenSSL() { $this->assertTrue(SecureRandom::hasOpenSSL()); $this->disableOpenSSL(); $this->assertFalse(SecureRandom::hasOpenSSL()); }