/** * To check if we can send some data to the client. */ public function testserveData() { $this->markTestSkipped('Cannot test this in command line context'); $this->assertTrue(DownloadManager::serveData("\n\n\n-->>>Hey this is the test string for function FeedData.<<<--\n\n\n", "myfile.txt")); }