Example #1
0
 /**
  * Test setting file name for downloading
  */
 public function testSettingFileName()
 {
     $response = new Response(json_encode(array('msg' => 'Testing Beepsend API')), array('http_code' => 200, 'Content-Type' => 'application/json'));
     $this->assertInstanceOf('Beepsend\\Response', $response->setFileName('FileName.csv'));
 }