PHP Class eZ\Publish\Core\REST\Client\Tests\Output\ValueObjectVisitor\SectionCreateStructTest

Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testResultContainsIdentifierValueElement ( string $result ) Tests that the result contains identifier value element.
testResultContainsNameValueElement ( string $result ) Tests that the result contains name value element.
testResultContainsSectionInputAttributes ( string $result ) Tests that the result contains SectionInput attributes.
testResultContainsSectionInputElement ( string $result ) Tests that the result contains SectionInput element.
testVisit ( ) : string Tests the SectionCreateStruct visitor.

Protected Methods

Method Description
internalGetVisitor ( ) : SectionCreateStruct Gets the SectionCreateStruct visitor.

Method Details

internalGetVisitor() protected method

Gets the SectionCreateStruct visitor.

testResultContainsIdentifierValueElement() public method

Tests that the result contains identifier value element.

testResultContainsNameValueElement() public method

Tests that the result contains name value element.
public testResultContainsNameValueElement ( string $result )
$result string

testResultContainsSectionInputAttributes() public method

Tests that the result contains SectionInput attributes.

testResultContainsSectionInputElement() public method

Tests that the result contains SectionInput element.

testVisit() public method

Tests the SectionCreateStruct visitor.
public testVisit ( ) : string
return string