/** * @depends testSetAndGetPrivateKey */ public function testIsPrivateKeySet() { $this->assertTrue($this->instance->isPrivateKeySet()); unset(self::$tempStorage['privateKey']); $this->assertFalse($this->instance->isPrivateKeySet()); // Set private key back so we can test clear method self::$tempStorage['privateKey'] = 'dummyPrivateKey'; }