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

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

Public Methods

Method Description
testParse ( ) : eZ\Publish\API\Repository\Values\Content\Location Tests the location parser.
testResultContainsDepth ( eZ\Publish\API\Repository\Values\Content\Location $result ) Tests that the resulting location contains depth.
testResultContainsHidden ( eZ\Publish\API\Repository\Values\Content\Location $result ) Tests that the resulting location contains hidden property.
testResultContainsId ( eZ\Publish\API\Repository\Values\Content\Location $result ) Tests that the resulting location contains the ID.
testResultContainsInvisible ( eZ\Publish\API\Repository\Values\Content\Location $result ) Tests that the resulting location contains invisible property.
testResultContainsParentLocationId ( eZ\Publish\API\Repository\Values\Content\Location $result ) Tests that the resulting location contains parent location ID.
testResultContainsPathString ( eZ\Publish\API\Repository\Values\Content\Location $result ) Tests that the resulting location contains path string.
testResultContainsPriority ( eZ\Publish\API\Repository\Values\Content\Location $result ) Tests that the resulting location contains the priority.
testResultContainsRemoteId ( eZ\Publish\API\Repository\Values\Content\Location $result ) Tests that the resulting location contains remote ID.
testResultContainsSortField ( eZ\Publish\API\Repository\Values\Content\Location $result ) Tests that the resulting location contains sort field.
testResultContainsSortOrder ( eZ\Publish\API\Repository\Values\Content\Location $result ) Tests that the resulting location contains sort order.
testResultIsLocation ( eZ\Publish\API\Repository\Values\Content\Location $result ) Tests that the resulting location is in fact an instance of Location class.

Protected Methods

Method Description
getParser ( ) : eZ\Publish\Core\REST\Client\Input\Parser\Location; Gets the parser for location.

Method Details

getParser() protected method

Gets the parser for location.
protected getParser ( ) : eZ\Publish\Core\REST\Client\Input\Parser\Location;
return eZ\Publish\Core\REST\Client\Input\Parser\Location;

testParse() public method

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

testResultContainsDepth() public method

Tests that the resulting location contains depth.
public testResultContainsDepth ( eZ\Publish\API\Repository\Values\Content\Location $result )
$result eZ\Publish\API\Repository\Values\Content\Location

testResultContainsHidden() public method

Tests that the resulting location contains hidden property.
public testResultContainsHidden ( eZ\Publish\API\Repository\Values\Content\Location $result )
$result eZ\Publish\API\Repository\Values\Content\Location

testResultContainsId() public method

Tests that the resulting location contains the ID.
public testResultContainsId ( eZ\Publish\API\Repository\Values\Content\Location $result )
$result eZ\Publish\API\Repository\Values\Content\Location

testResultContainsInvisible() public method

Tests that the resulting location contains invisible property.
public testResultContainsInvisible ( eZ\Publish\API\Repository\Values\Content\Location $result )
$result eZ\Publish\API\Repository\Values\Content\Location

testResultContainsParentLocationId() public method

Tests that the resulting location contains parent location ID.
public testResultContainsParentLocationId ( eZ\Publish\API\Repository\Values\Content\Location $result )
$result eZ\Publish\API\Repository\Values\Content\Location

testResultContainsPathString() public method

Tests that the resulting location contains path string.
public testResultContainsPathString ( eZ\Publish\API\Repository\Values\Content\Location $result )
$result eZ\Publish\API\Repository\Values\Content\Location

testResultContainsPriority() public method

Tests that the resulting location contains the priority.
public testResultContainsPriority ( eZ\Publish\API\Repository\Values\Content\Location $result )
$result eZ\Publish\API\Repository\Values\Content\Location

testResultContainsRemoteId() public method

Tests that the resulting location contains remote ID.
public testResultContainsRemoteId ( eZ\Publish\API\Repository\Values\Content\Location $result )
$result eZ\Publish\API\Repository\Values\Content\Location

testResultContainsSortField() public method

Tests that the resulting location contains sort field.
public testResultContainsSortField ( eZ\Publish\API\Repository\Values\Content\Location $result )
$result eZ\Publish\API\Repository\Values\Content\Location

testResultContainsSortOrder() public method

Tests that the resulting location contains sort order.
public testResultContainsSortOrder ( eZ\Publish\API\Repository\Values\Content\Location $result )
$result eZ\Publish\API\Repository\Values\Content\Location

testResultIsLocation() public method

Tests that the resulting location is in fact an instance of Location class.
public testResultIsLocation ( eZ\Publish\API\Repository\Values\Content\Location $result )
$result eZ\Publish\API\Repository\Values\Content\Location