public function testSend()
{
$response = m::mock('\\Omnipay\\Common\\Message\\ResponseInterface');
$data = array('request data');
$this->request->shouldReceive('getData')->once()->andReturn($data);
$this->request->shouldReceive('sendData')->once()->with($data)->andReturn($response);
$this->assertSame($response, $this->request->send());
}