Вход Регистрация
Файл: vkolhoze.com/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/AbstractResponseVisitorTest.php
Строк: 28
<?php

namespace GuzzleTestsServiceCommandLocationVisitorResponse;

use 
GuzzleTestsServiceMockCommandMockCommand;
use 
GuzzleHttpMessageResponse;

abstract class 
AbstractResponseVisitorTest extends GuzzleTestsGuzzleTestCase
{
    
/** @var Response */
    
protected $response;

    
/** @var MockCommand */
    
protected $command;

    
/** @var array */
    
protected $value;

    public function 
setUp()
    {
        
$this->value = array();
        
$this->command = new MockCommand();
        
$this->response = new Response(200, array(
            
'X-Foo'          => 'bar',
            
'Content-Length' => 3,
            
'Content-Type'   => 'text/plain'
        
), 'Foo');
    }
}
Онлайн: 2
Реклама