PHP Class eZ\Publish\Core\REST\Client\Tests\Input\Parser\VersionInfoTest

Inheritance: extends BaseTest
Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$contentServiceMock eZ\Publish\Core\REST\Client\ContentService

Public Methods

Method Description
testParse ( ) : eZ\Publish\API\Repository\Values\Content\VersionInfo Tests the section parser.
testParsedContentInfoId ( $parsedVersionInfo )
testParsedCreationDate ( $parsedVersionInfo )
testParsedCreatorId ( $parsedVersionInfo )
testParsedId ( $parsedVersionInfo )
testParsedInitialLanguageCode ( $parsedVersionInfo )
testParsedLanguageCodes ( $parsedVersionInfo )
testParsedModificationDate ( $parsedVersionInfo )
testParsedNames ( $parsedVersionInfo )
testParsedStatus ( $parsedVersionInfo )
testParsedVersionNo ( $parsedVersionInfo )

Protected Methods

Method Description
getContentServiceMock ( ) : ContentService
getParser ( ) : VersionInfo Gets the section parser.
getRequestParserMock ( ) : PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\REST\Common\RequestParser

Method Details

getContentServiceMock() protected method

protected getContentServiceMock ( ) : ContentService
return eZ\Publish\Core\REST\Client\ContentService

getParser() protected method

Gets the section parser.
protected getParser ( ) : VersionInfo
return eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo

getRequestParserMock() protected method

protected getRequestParserMock ( ) : PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\REST\Common\RequestParser
return PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\REST\Common\RequestParser

testParse() public method

Tests the section parser.
public testParse ( ) : eZ\Publish\API\Repository\Values\Content\VersionInfo
return eZ\Publish\API\Repository\Values\Content\VersionInfo

testParsedContentInfoId() public method

public testParsedContentInfoId ( $parsedVersionInfo )

testParsedCreationDate() public method

public testParsedCreationDate ( $parsedVersionInfo )

testParsedCreatorId() public method

public testParsedCreatorId ( $parsedVersionInfo )

testParsedId() public method

public testParsedId ( $parsedVersionInfo )

testParsedInitialLanguageCode() public method

public testParsedInitialLanguageCode ( $parsedVersionInfo )

testParsedLanguageCodes() public method

public testParsedLanguageCodes ( $parsedVersionInfo )

testParsedModificationDate() public method

public testParsedModificationDate ( $parsedVersionInfo )

testParsedNames() public method

public testParsedNames ( $parsedVersionInfo )

testParsedStatus() public method

public testParsedStatus ( $parsedVersionInfo )

testParsedVersionNo() public method

public testParsedVersionNo ( $parsedVersionInfo )

Property Details

$contentServiceMock protected property

protected ContentService,eZ\Publish\Core\REST\Client $contentServiceMock
return eZ\Publish\Core\REST\Client\ContentService