/** * @dataProvider stringProvider * * @param string $message */ public function testGetErrorMessage($message) { $response = new CurlResponse('', ['http_code' => 400], $message); $this->assertEquals($message, $response->getErrorMessage()); }