eZ\Publish\Core\REST\Client\Tests\Output\ValueObjectVisitor\ContentObjectStatesTest::testResultContainsContentObjectStatesAttributes PHP Method

testResultContainsContentObjectStatesAttributes() public method

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