lithium\tests\mocks\net\http\MockSocket::config PHP Method

config() public method

public config ( )
    public function config()
    {
        return $this->_config;
    }

Usage Example

 public function testInitialization()
 {
     $socket = new MockSocket();
     $socket->open(array('test' => true));
     $config = $socket->config();
     $this->assertTrue($config['test']);
 }