This is used in case you just need a test transport that doesn't do any connection to an elasticsearch host but still returns a valid response object
Author: James Boehmer (james.boehmer@jamesboehmer.com)
Inheritance: extends AbstractTransport
 /**
  * @group functional
  */
 public function testExec()
 {
     $request = new Request('/test');
     $params = array('name' => 'ruflin');
     $transport = new NullTransport();
     $response = $transport->exec($request, $params);
     $this->assertInstanceOf('\\Elastica\\Response', $response);
     $data = $response->getData();
     $this->assertEquals($params, $data['params']);
 }