public function testConstruct()
{
$data = array('foo' => 'bar');
$request = $this->getMockRequest();
$this->response = m::mock('\\Omnipay\\Common\\Message\\AbstractResponse', array($request, $data))->makePartial();
$this->assertSame($request, $this->response->getRequest());
$this->assertSame($data, $this->response->getData());
}