eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\ObjectStateListTest::testResultContainsObjectStateListAttributes PHP Method

testResultContainsObjectStateListAttributes() public method

Test if result contains ObjectStateList element attributes.
    public function testResultContainsObjectStateListAttributes($result)
    {
        $this->assertXMLTag(array('tag' => 'ObjectStateList', 'attributes' => array('media-type' => 'application/vnd.ez.api.ObjectStateList+xml', 'href' => '/content/objectstategroups/42/objectstates')), $result, 'Invalid <ObjectStateList> attributes.', false);
    }