示例#1
0
 /**
  * @test
  */
 public function createNewKeyPairCalledTwoTimesReturnsSameKeyPairInstance()
 {
     $keyPair1 = $this->subject->createNewKeyPair();
     $this->assertNotNull($keyPair1, 'Test fails because of broken environment: PHP OpenSSL extension is not working properly.');
     $this->assertSame($keyPair1, $this->subject->createNewKeyPair());
 }
示例#2
0
 /**
  * @test
  */
 public function createNewKeyPairCalledTwoTimesReturnsSameKeyPairInstance()
 {
     $this->assertSame($this->subject->createNewKeyPair(), $this->subject->createNewKeyPair());
 }