public function testGetHeaderLine() { $param = 'header'; $this->responseMock->shouldReceive('getHeaderLine')->andReturn($this->returnValue); $sparkpostResponse = new SparkPostResponse($this->responseMock); $this->assertEquals($this->responseMock->getHeaderLine($param), $sparkpostResponse->getHeaderLine($param)); }