Phue\Test\Transport\HttpTest::setUp PHP Method

setUp() public method

Set up
public setUp ( )
    public function setUp()
    {
        // Mock client
        $this->mockClient = $this->getMock('\\Phue\\Client', array('getTransport'), array('127.0.0.1'));
        // Mock transport adapter
        $this->mockAdapter = $this->getMock('\\Phue\\Transport\\Adapter\\AdapterInterface');
        // Set transport
        $this->transport = new Http($this->mockClient);
    }