Source

						public function setUp() {
		$this->_configs = Connections::config();
		Connections::reset();

		Connections::config(array(
			'mock-http-connection' => array('type' => 'Http')
		));

		Connections::config(array(
			'mock-http-conn' => array(
				'type' => 'Http',
				'methods' => array(
					'something' => array('method' => 'get'),
					'do' => array('method' => 'post')
				)
			)
		));
	}