‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest:

Public Member Functions

 abstractRepositoryImplementsRepositoryInterface ()
 
 createQueryCallsPersistenceManagerWithExpectedClassName ()
 
 createQuerySetsDefaultOrderingIfDefined ()
 
 findAllCreatesQueryAndReturnsResultOfExecuteCall ()
 
 findByIdentifierReturnsResultOfGetObjectByIdentifierCallFromBackend ()
 
 addDelegatesToPersistenceManager ()
 
 removeDelegatesToPersistenceManager ()
 
 updateDelegatesToPersistenceManager ()
 
 magicCallMethodTriggersAnErrorIfUnknownMethodsAreCalled ()
 
 addChecksObjectType ()
 
 removeChecksObjectType ()
 
 updateChecksObjectType ()
 
 constructSetsObjectTypeFromClassName ()
 
 createQueryReturnsQueryWithUnmodifiedDefaultQuerySettings ()
 
 findByUidReturnsResultOfGetObjectByIdentifierCall ()
 
 updateRejectsObjectsOfWrongType ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

Repository &MockObject &AccessibleObjectInterface $repository
 
QueryFactory $mockQueryFactory
 
BackendInterface $mockBackend
 
Session $mockSession
 
PersistenceManagerInterface $mockPersistenceManager
 
QueryInterface $mockQuery
 
QuerySettingsInterface $mockQuerySettings
 
ConfigurationManager $mockConfigurationManager
 

Detailed Description

Definition at line 42 of file RepositoryTest.php.

Member Function Documentation

◆ abstractRepositoryImplementsRepositoryInterface()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::abstractRepositoryImplementsRepositoryInterface ( )

Definition at line 102 of file RepositoryTest.php.

◆ addChecksObjectType()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::addChecksObjectType ( )

Definition at line 216 of file RepositoryTest.php.

◆ addDelegatesToPersistenceManager()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::addDelegatesToPersistenceManager ( )

◆ constructSetsObjectTypeFromClassName()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::constructSetsObjectTypeFromClassName ( )

◆ createQueryCallsPersistenceManagerWithExpectedClassName()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::createQueryCallsPersistenceManagerWithExpectedClassName ( )

◆ createQueryReturnsQueryWithUnmodifiedDefaultQuerySettings()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::createQueryReturnsQueryWithUnmodifiedDefaultQuerySettings ( )

Definition at line 256 of file RepositoryTest.php.

◆ createQuerySetsDefaultOrderingIfDefined()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::createQuerySetsDefaultOrderingIfDefined ( )

◆ findAllCreatesQueryAndReturnsResultOfExecuteCall()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::findAllCreatesQueryAndReturnsResultOfExecuteCall ( )

◆ findByIdentifierReturnsResultOfGetObjectByIdentifierCallFromBackend()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::findByIdentifierReturnsResultOfGetObjectByIdentifierCallFromBackend ( )

Definition at line 154 of file RepositoryTest.php.

References TYPO3\CMS\Webhooks\Message\$identifier.

◆ findByUidReturnsResultOfGetObjectByIdentifierCall()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::findByUidReturnsResultOfGetObjectByIdentifierCall ( )

◆ magicCallMethodTriggersAnErrorIfUnknownMethodsAreCalled()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::magicCallMethodTriggersAnErrorIfUnknownMethodsAreCalled ( )

◆ removeChecksObjectType()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::removeChecksObjectType ( )

Definition at line 225 of file RepositoryTest.php.

◆ removeDelegatesToPersistenceManager()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::removeDelegatesToPersistenceManager ( )

◆ setUp()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::setUp ( )
protected

Definition at line 74 of file RepositoryTest.php.

◆ updateChecksObjectType()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::updateChecksObjectType ( )

◆ updateDelegatesToPersistenceManager()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::updateDelegatesToPersistenceManager ( )

◆ updateRejectsObjectsOfWrongType()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::updateRejectsObjectsOfWrongType ( )

Definition at line 282 of file RepositoryTest.php.

Member Data Documentation

◆ $mockBackend

BackendInterface TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::$mockBackend
protected

Definition at line 52 of file RepositoryTest.php.

◆ $mockConfigurationManager

ConfigurationManager TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::$mockConfigurationManager
protected

Definition at line 72 of file RepositoryTest.php.

◆ $mockPersistenceManager

◆ $mockQuery

◆ $mockQueryFactory

QueryFactory TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::$mockQueryFactory
protected

Definition at line 48 of file RepositoryTest.php.

◆ $mockQuerySettings

QuerySettingsInterface TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::$mockQuerySettings
protected

Definition at line 68 of file RepositoryTest.php.

◆ $mockSession

Session TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest::$mockSession
protected

Definition at line 56 of file RepositoryTest.php.

◆ $repository