‪TYPO3CMS  11.5
TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest:

Public Member Functions

 constructingArgumentWithoutNameThrowsException ()
 
 constructingArgumentWithInvalidNameThrowsException ()
 
 passingDataTypeToConstructorReallySetsTheDataType ()
 
 setShortNameProvidesFluentInterface ()
 
array invalidShortNames ()
 
 shortNameShouldThrowExceptionIfInvalid ($invalidShortName)
 
 shortNameCanBeRetrievedAgain ()
 
 setRequiredShouldProvideFluentInterfaceAndReallySetRequiredState ()
 
 setDefaultValueShouldProvideFluentInterfaceAndReallySetDefaultValue ()
 
 setValidatorShouldProvideFluentInterfaceAndReallySetValidator ()
 
 setValueProvidesFluentInterface ()
 
 setValueUsesNullAsIs ()
 
 defaultPropertyMappingConfigurationDoesNotAllowCreationOrModificationOfObjects ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

Argument $simpleValueArgument
 
Argument $objectArgument
 

Detailed Description

Test case

Definition at line 28 of file ArgumentTest.php.

Member Function Documentation

◆ constructingArgumentWithInvalidNameThrowsException()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::constructingArgumentWithInvalidNameThrowsException ( )
Test:

Definition at line 53 of file ArgumentTest.php.

◆ constructingArgumentWithoutNameThrowsException()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::constructingArgumentWithoutNameThrowsException ( )
Test:

Definition at line 43 of file ArgumentTest.php.

◆ defaultPropertyMappingConfigurationDoesNotAllowCreationOrModificationOfObjects()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::defaultPropertyMappingConfigurationDoesNotAllowCreationOrModificationOfObjects ( )

◆ invalidShortNames()

array TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::invalidShortNames ( )
Returns
‪array

Definition at line 81 of file ArgumentTest.php.

◆ passingDataTypeToConstructorReallySetsTheDataType()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::passingDataTypeToConstructorReallySetsTheDataType ( )
Test:

Definition at line 63 of file ArgumentTest.php.

◆ setDefaultValueShouldProvideFluentInterfaceAndReallySetDefaultValue()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::setDefaultValueShouldProvideFluentInterfaceAndReallySetDefaultValue ( )
Test:

Definition at line 124 of file ArgumentTest.php.

◆ setRequiredShouldProvideFluentInterfaceAndReallySetRequiredState()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::setRequiredShouldProvideFluentInterfaceAndReallySetRequiredState ( )
Test:

Definition at line 114 of file ArgumentTest.php.

◆ setShortNameProvidesFluentInterface()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::setShortNameProvidesFluentInterface ( )
Test:

Definition at line 72 of file ArgumentTest.php.

◆ setUp()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::setUp ( )
protected

Definition at line 33 of file ArgumentTest.php.

◆ setValidatorShouldProvideFluentInterfaceAndReallySetValidator()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::setValidatorShouldProvideFluentInterfaceAndReallySetValidator ( )
Test:

Definition at line 134 of file ArgumentTest.php.

◆ setValueProvidesFluentInterface()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::setValueProvidesFluentInterface ( )
Test:

Definition at line 145 of file ArgumentTest.php.

◆ setValueUsesNullAsIs()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::setValueUsesNullAsIs ( )
Test:

Definition at line 154 of file ArgumentTest.php.

◆ shortNameCanBeRetrievedAgain()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::shortNameCanBeRetrievedAgain ( )
Test:

Definition at line 105 of file ArgumentTest.php.

◆ shortNameShouldThrowExceptionIfInvalid()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::shortNameShouldThrowExceptionIfInvalid (   $invalidShortName)
Test:
‪@dataProvider invalidShortNames
Parameters
string | int$invalidShortName

Definition at line 95 of file ArgumentTest.php.

Member Data Documentation

◆ $objectArgument

Argument TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::$objectArgument
protected

Definition at line 31 of file ArgumentTest.php.

◆ $simpleValueArgument

Argument TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::$simpleValueArgument
protected

Definition at line 30 of file ArgumentTest.php.