eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\ExceptionTest::testResultContainsExceptionAttributes PHP Method

testResultContainsExceptionAttributes() public method

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