eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\URLWildcardTest::testResultContainsUrlWildcardAttributes PHP Method

testResultContainsUrlWildcardAttributes() public method

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