‪TYPO3CMS  11.5
TYPO3\CMS\Opendocs\Tests\Unit\Service\OpenDocumentServiceTest Class Reference
Inheritance diagram for TYPO3\CMS\Opendocs\Tests\Unit\Service\OpenDocumentServiceTest:

Public Member Functions

 getsOpenDocumentsFromUserSession ()
 
 handlesUserSessionWithoutOpenDocuments ()
 
 getsRecentDocumentsFromUserSession ()
 
 handlesUserSessionWithoutRecentDocuments ()
 
 closesDocument ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

OpenDocumentService $subject
 
ObjectProphecy $backendUser
 

Detailed Description

Test case

Definition at line 29 of file OpenDocumentServiceTest.php.

Member Function Documentation

◆ closesDocument()

TYPO3\CMS\Opendocs\Tests\Unit\Service\OpenDocumentServiceTest::closesDocument ( )
Test:

Definition at line 113 of file OpenDocumentServiceTest.php.

◆ getsOpenDocumentsFromUserSession()

TYPO3\CMS\Opendocs\Tests\Unit\Service\OpenDocumentServiceTest::getsOpenDocumentsFromUserSession ( )
Test:

Definition at line 50 of file OpenDocumentServiceTest.php.

◆ getsRecentDocumentsFromUserSession()

TYPO3\CMS\Opendocs\Tests\Unit\Service\OpenDocumentServiceTest::getsRecentDocumentsFromUserSession ( )
Test:

Definition at line 84 of file OpenDocumentServiceTest.php.

◆ handlesUserSessionWithoutOpenDocuments()

TYPO3\CMS\Opendocs\Tests\Unit\Service\OpenDocumentServiceTest::handlesUserSessionWithoutOpenDocuments ( )
Test:

Definition at line 72 of file OpenDocumentServiceTest.php.

◆ handlesUserSessionWithoutRecentDocuments()

TYPO3\CMS\Opendocs\Tests\Unit\Service\OpenDocumentServiceTest::handlesUserSessionWithoutRecentDocuments ( )
Test:

Definition at line 101 of file OpenDocumentServiceTest.php.

◆ setUp()

TYPO3\CMS\Opendocs\Tests\Unit\Service\OpenDocumentServiceTest::setUp ( )
protected

Set up this test case

Definition at line 40 of file OpenDocumentServiceTest.php.

Member Data Documentation

◆ $backendUser

ObjectProphecy TYPO3\CMS\Opendocs\Tests\Unit\Service\OpenDocumentServiceTest::$backendUser
protected

Definition at line 35 of file OpenDocumentServiceTest.php.

◆ $subject

OpenDocumentService TYPO3\CMS\Opendocs\Tests\Unit\Service\OpenDocumentServiceTest::$subject
protected

Definition at line 32 of file OpenDocumentServiceTest.php.