Просмотр файла sdark.mobi/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/ValidationExceptionTest.php
<?php namespace Guzzle\Tests\Service\Exception; use Guzzle\Service\Exception\ValidationException; class ValidationExceptionTest extends \Guzzle\Tests\GuzzleTestCase { public function testCanSetAndRetrieveErrors() { $errors = array('foo', 'bar'); $e = new ValidationException('Foo'); $e->setErrors($errors); $this->assertEquals($errors, $e->getErrors()); } }