コード例 #1
0
 /**
  * {@inheritdoc}
  */
 public function storeKeyPair(KeyPair $keyPair)
 {
     $this->register($keyPair);
     parent::storeKeyPair($keyPair);
 }
コード例 #2
0
 public function test storeKeyPair stores the given keyPair()
 {
     $dummyKeyPair = $this->prophesize(KeyPair::class)->reveal();
     $this->mockStorage->store($dummyKeyPair)->shouldBeCalled();
     $this->service->storeKeyPair($dummyKeyPair);
 }