public function testConstructorWithCustomArgValues() { $resp = new CustomResponse(); $data = array('name' => 'item name', 'price' => '9.99'); $req = new MockRequest($data, $resp); $this->assertSame($data, $req->getData()); $this->assertSame($resp, $req->getResponse()); }