Beispiel #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());
 }
Beispiel #2
0
 /**
  * @test
  */
 public function createNewKeyPairCalledTwoTimesReturnsSameKeyPairInstance()
 {
     $this->assertSame($this->subject->createNewKeyPair(), $this->subject->createNewKeyPair());
 }