Neos\Flow\Tests\Unit\Security\Cryptography\RsaWalletServicePhpTest::setUp PHP Метод

setUp() публичный Метод

In this case this only marks the test to be skipped if openssl extension is not installed
public setUp ( ) : void
Результат void
    public function setUp()
    {
        vfsStream::setup('Foo');
        $settings['security']['cryptography']['RSAWalletServicePHP']['keystorePath'] = 'vfs://Foo/EncryptionKey';
        $this->rsaWalletService = $this->getAccessibleMock(RsaWalletServicePhp::class, ['dummy']);
        $this->rsaWalletService->injectSettings($settings);
        $this->keyPairUuid = $this->rsaWalletService->generateNewKeypair();
    }