Open Journal Systems  3.3.0
AbstractResponseVisitorTest.php
1 <?php
2 
4 
7 
9 {
11  protected $response;
12 
14  protected $command;
15 
17  protected $value;
18 
19  public function setUp()
20  {
21  $this->value = array();
22  $this->command = new MockCommand();
23  $this->response = new Response(200, array(
24  'X-Foo' => 'bar',
25  'Content-Length' => 3,
26  'Content-Type' => 'text/plain'
27  ), 'Foo');
28  }
29 }
Guzzle\Tests\Service\Command\LocationVisitor\Response\AbstractResponseVisitorTest
Definition: AbstractResponseVisitorTest.php:8
Guzzle\Tests\GuzzleTestCase
Definition: GuzzleTestCase.php:22
Guzzle\Tests\Service\Command\LocationVisitor\Response\AbstractResponseVisitorTest\setUp
setUp()
Definition: AbstractResponseVisitorTest.php:28
Guzzle\Http\Message\Response
Definition: lib/vendor/guzzle/guzzle/src/Guzzle/Http/Message/Response.php:17
Guzzle\Tests\Service\Mock\Command\MockCommand
Definition: MockCommand.php:7
Guzzle\Tests\Service\Command\LocationVisitor\Response
Definition: AbstractResponseVisitorTest.php:3
Guzzle\Tests\Service\Command\LocationVisitor\Response\AbstractResponseVisitorTest\$command
$command
Definition: AbstractResponseVisitorTest.php:20
Guzzle\Tests\Service\Command\LocationVisitor\Response\AbstractResponseVisitorTest\$value
$value
Definition: AbstractResponseVisitorTest.php:26
Guzzle\Tests\Service\Command\LocationVisitor\Response\AbstractResponseVisitorTest\$response
$response
Definition: AbstractResponseVisitorTest.php:14