public function testSendSignal_Failed()
{
$child = Process::fork(function () {
\usleep(0.1 * 1000 * 1000);
});
$errorSignal = 1001;
try {
$child->sendSignal($errorSignal);
} catch (\Exception $ex) {
$this->assertTrue($ex instanceof FailToSendSignalException);
}
\pcntl_wait($st);
}