public function setUp() { parent::setUp(); $this->mockManager = $this->prophesize(KeyPairManager::class); $this->mockStorage = $this->prophesize(KeyPairStorage::class); $this->mockClientFactory = $this->prophesize(ClientFactory::class); $this->dummyContactEmail = sprintf('*****@*****.**', uniqid()); $this->service = new AccountKeyPairProvider($this->mockManager->reveal(), $this->mockStorage->reveal(), $this->mockClientFactory->reveal(), $this->dummyContactEmail); }