public function testGet2() { $srcPath = "/NotExistsFile/gettest.txt"; $destPath = __DIR__ . "/../../../../tmp/Altax/Module/Task/Process/ProcessTest/gettest.txt"; $this->runtimeTask->getOutput()->setVerbosity(3); $node = new Node(); $node->setName("127.0.0.1"); $process = new Process($this->runtimeTask, $node); try { $process->get($srcPath, $destPath); $this->assertEquals(false, true); } catch (\RuntimeException $e) { $this->assertEquals(true, true); } }