eZ\Publish\Core\REST\Client\Tests\Output\ValueObjectVisitor\PolicyCreateStructTest::testResultContainsPolicyCreateAttributes PHP Method

testResultContainsPolicyCreateAttributes() public method

Tests that the result contains PolicyCreate attributes.
    public function testResultContainsPolicyCreateAttributes($result)
    {
        $this->assertXMLTag(array('tag' => 'PolicyCreate', 'attributes' => array('media-type' => 'application/vnd.ez.api.PolicyCreate+xml')), $result, 'Invalid <PolicyCreate> attributes.', false);
    }