‪TYPO3CMS  ‪main
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 ()
 
 shortNameShouldThrowExceptionIfInvalid ($invalidShortName)
 
 shortNameCanBeRetrievedAgain ()
 
 setRequiredShouldProvideFluentInterfaceAndReallySetRequiredState ()
 
 setDefaultValueShouldProvideFluentInterfaceAndReallySetDefaultValue ()
 
 setValidatorShouldProvideFluentInterfaceAndReallySetValidator ()
 
 setValueProvidesFluentInterface ()
 
 setValueUsesNullAsIs ()
 
 defaultPropertyMappingConfigurationDoesNotAllowCreationOrModificationOfObjects ()
 

Static Public Member Functions

static invalidShortNames ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

Argument $simpleValueArgument
 
Argument $objectArgument
 

Detailed Description

Definition at line 27 of file ArgumentTest.php.

Member Function Documentation

◆ constructingArgumentWithInvalidNameThrowsException()

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

Definition at line 48 of file ArgumentTest.php.

◆ constructingArgumentWithoutNameThrowsException()

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

Definition at line 40 of file ArgumentTest.php.

◆ defaultPropertyMappingConfigurationDoesNotAllowCreationOrModificationOfObjects()

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

◆ invalidShortNames()

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

Definition at line 69 of file ArgumentTest.php.

◆ passingDataTypeToConstructorReallySetsTheDataType()

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

Definition at line 56 of file ArgumentTest.php.

◆ setDefaultValueShouldProvideFluentInterfaceAndReallySetDefaultValue()

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

Definition at line 106 of file ArgumentTest.php.

◆ setRequiredShouldProvideFluentInterfaceAndReallySetRequiredState()

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

Definition at line 98 of file ArgumentTest.php.

◆ setShortNameProvidesFluentInterface()

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

Definition at line 63 of file ArgumentTest.php.

◆ setUp()

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

Definition at line 32 of file ArgumentTest.php.

◆ setValidatorShouldProvideFluentInterfaceAndReallySetValidator()

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

Definition at line 114 of file ArgumentTest.php.

◆ setValueProvidesFluentInterface()

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

Definition at line 123 of file ArgumentTest.php.

◆ setValueUsesNullAsIs()

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

Definition at line 130 of file ArgumentTest.php.

◆ shortNameCanBeRetrievedAgain()

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

Definition at line 91 of file ArgumentTest.php.

◆ shortNameShouldThrowExceptionIfInvalid()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\ArgumentTest::shortNameShouldThrowExceptionIfInvalid (   $invalidShortName)
Parameters
string | int$invalidShortName

Definition at line 83 of file ArgumentTest.php.

Member Data Documentation

◆ $objectArgument

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

Definition at line 30 of file ArgumentTest.php.

◆ $simpleValueArgument

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

Definition at line 29 of file ArgumentTest.php.