PHP Class eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\VersionInfoTest

Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$creationDate DateTime
$modificationDate DateTime

Public Methods

Method Description
setUp ( )
testResultContainsVersionInfoChildren ( string $result )
testVersionInfoContentElement ( string $result )
testVersionInfoCreationDateElement ( string $result )
testVersionInfoIdElement ( string $result )
testVersionInfoInitialLanguageCodeElement ( string $result )
testVersionInfoLanguageCodesElement ( string $result )
testVersionInfoModificationDateElement ( string $result )
testVersionInfoNamesElement ( string $result )
testVersionInfoStatusElement ( string $result )
testVersionInfoVersionNoElement ( string $result )
testVisit ( ) : string Test the VersionInfo visitor.

Protected Methods

Method Description
internalGetVisitor ( ) : VersionInfo Get the VersionInfo visitor.

Method Details

internalGetVisitor() protected method

Get the VersionInfo visitor.
protected internalGetVisitor ( ) : VersionInfo
return eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\VersionInfo

setUp() public method

public setUp ( )

testResultContainsVersionInfoChildren() public method

testVersionInfoContentElement() public method

public testVersionInfoContentElement ( string $result )
$result string

testVersionInfoCreationDateElement() public method

public testVersionInfoCreationDateElement ( string $result )
$result string

testVersionInfoIdElement() public method

public testVersionInfoIdElement ( string $result )
$result string

testVersionInfoInitialLanguageCodeElement() public method

testVersionInfoLanguageCodesElement() public method

testVersionInfoModificationDateElement() public method

testVersionInfoNamesElement() public method

public testVersionInfoNamesElement ( string $result )
$result string

testVersionInfoStatusElement() public method

public testVersionInfoStatusElement ( string $result )
$result string

testVersionInfoVersionNoElement() public method

public testVersionInfoVersionNoElement ( string $result )
$result string

testVisit() public method

Test the VersionInfo visitor.
public testVisit ( ) : string
return string

Property Details

$creationDate protected property

protected DateTime $creationDate
return DateTime

$modificationDate protected property

protected DateTime $modificationDate
return DateTime