‪TYPO3CMS  11.5
TYPO3\CMS\FrontendLogin\Tests\Unit\Service\RecoveryServiceTest Class Reference
Inheritance diagram for TYPO3\CMS\FrontendLogin\Tests\Unit\Service\RecoveryServiceTest:

Public Member Functions

 sendRecoveryEmailShouldGenerateMailFromConfiguration (string $emailAddress, array $recoveryConfiguration, array $userInformation, Address $receiver, array $settings)
 
 configurationDataProvider ()
 

Protected Member Functions

 setUp ()
 
 mockRecoveryConfigurationAndUserRepository (string $emailAddress, array $recoveryConfiguration, array $userInformation)
 

Protected Attributes

bool $resetSingletonInstances = true
 
ObjectProphecy $userRepository
 
ObjectProphecy $recoveryConfiguration
 
ObjectProphecy $templatePathsProphecy
 

Private Member Functions

ObjectProphecy< FluidEmailsetupFluidEmailProphecy (Address $receiver, array $expectedViewVariables, array $recoveryConfiguration)
 

Detailed Description

Definition at line 37 of file RecoveryServiceTest.php.

Member Function Documentation

◆ configurationDataProvider()

TYPO3\CMS\FrontendLogin\Tests\Unit\Service\RecoveryServiceTest::configurationDataProvider ( )

Definition at line 129 of file RecoveryServiceTest.php.

◆ mockRecoveryConfigurationAndUserRepository()

TYPO3\CMS\FrontendLogin\Tests\Unit\Service\RecoveryServiceTest::mockRecoveryConfigurationAndUserRepository ( string  $emailAddress,
array  $recoveryConfiguration,
array  $userInformation 
)
protected

◆ sendRecoveryEmailShouldGenerateMailFromConfiguration()

TYPO3\CMS\FrontendLogin\Tests\Unit\Service\RecoveryServiceTest::sendRecoveryEmailShouldGenerateMailFromConfiguration ( string  $emailAddress,
array  $recoveryConfiguration,
array  $userInformation,
Address  $receiver,
array  $settings 
)

◆ setUp()

TYPO3\CMS\FrontendLogin\Tests\Unit\Service\RecoveryServiceTest::setUp ( )
protected

Definition at line 52 of file RecoveryServiceTest.php.

References $GLOBALS.

◆ setupFluidEmailProphecy()

ObjectProphecy<FluidEmail> TYPO3\CMS\FrontendLogin\Tests\Unit\Service\RecoveryServiceTest::setupFluidEmailProphecy ( Address  $receiver,
array  $expectedViewVariables,
array  $recoveryConfiguration 
)
private
Parameters
Address$receiver
array$expectedViewVariables
array$recoveryConfiguration
Returns
‪ObjectProphecy<FluidEmail>

Definition at line 251 of file RecoveryServiceTest.php.

References TYPO3\CMS\FrontendLogin\Tests\Unit\Service\RecoveryServiceTest\$recoveryConfiguration.

Referenced by TYPO3\CMS\FrontendLogin\Tests\Unit\Service\RecoveryServiceTest\sendRecoveryEmailShouldGenerateMailFromConfiguration().

Member Data Documentation

◆ $recoveryConfiguration

◆ $resetSingletonInstances

bool TYPO3\CMS\FrontendLogin\Tests\Unit\Service\RecoveryServiceTest::$resetSingletonInstances = true
protected

Definition at line 41 of file RecoveryServiceTest.php.

◆ $templatePathsProphecy

ObjectProphecy TYPO3\CMS\FrontendLogin\Tests\Unit\Service\RecoveryServiceTest::$templatePathsProphecy
protected

Definition at line 50 of file RecoveryServiceTest.php.

◆ $userRepository

ObjectProphecy TYPO3\CMS\FrontendLogin\Tests\Unit\Service\RecoveryServiceTest::$userRepository
protected

Definition at line 44 of file RecoveryServiceTest.php.