eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\ExceptionTest::testResultContainsErrorMessage PHP Метод

testResultContainsErrorMessage() публичный Метод

Test if result contains ErrorMessage element.
public testResultContainsErrorMessage ( string $result )
$result string
    public function testResultContainsErrorMessage($result)
    {
        $this->assertXMLTag(array('tag' => 'ErrorMessage', 'descendant' => array('tag' => 'errorMessage', 'content' => $this->getExpectedMessage())), $result, 'Invalid <ErrorMessage> element.');
    }