public function testConnection()
{
$http = new Service($this->_testConfig);
$connection = $http->connection;
$this->assertEqual('lithium\\tests\\mocks\\net\\http\\MockSocket', get_class($connection));
$http->connection->open(array('scheme' => 'https'));
$config = $http->connection->config();
$this->assertEqual('https', $config['scheme']);
}