TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
TextExtractorRegistryTest Class Reference
Inheritance diagram for TextExtractorRegistryTest:
UnitTestCase BaseTestCase

Public Member Functions

 registeredTextExtractorClassCanBeRetrieved ()
 
 registerTextExtractorThrowsExceptionIfClassDoesNotExist ()
 
 registerTextExtractorThrowsExceptionIfClassDoesNotImplementRightInterface ()
 

Protected Member Functions

 getTextExtractorRegistry (array $createsTextExtractorInstances=[])
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Additional Inherited Members

- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test cases for TextExtractorRegistry

Definition at line 23 of file TextExtractorRegistryTest.php.

Member Function Documentation

getTextExtractorRegistry ( array  $createsTextExtractorInstances = [])
protected

Initialize a TextExtractorRegistry and mock createTextExtractorInstance()

Parameters
array$createsTextExtractorInstances
Returns
|TextExtractorRegistry

Definition at line 31 of file TextExtractorRegistryTest.php.

References $textExtractorRegistry.

Referenced by TextExtractorRegistryTest\registeredTextExtractorClassCanBeRetrieved(), TextExtractorRegistryTest\registerTextExtractorThrowsExceptionIfClassDoesNotExist(), and TextExtractorRegistryTest\registerTextExtractorThrowsExceptionIfClassDoesNotImplementRightInterface().

registeredTextExtractorClassCanBeRetrieved ( )
registerTextExtractorThrowsExceptionIfClassDoesNotExist ( )
registerTextExtractorThrowsExceptionIfClassDoesNotImplementRightInterface ( )