public function testChildCallsOnShutdown()
 {
     $expected = 'onShutdown called';
     $this->command->setShutdownOutput($expected);
     $this->setupStartFunctions(null);
     $pcntl_signal = $this->getFunctionMock('\\Phlib\\ConsoleProcess\\Command', 'pcntl_signal');
     $pcntl_signal->expects($this->any())->will($this->returnValue(true));
     $this->tester->execute(['action' => 'start', '-p' => '/path/to/my.pid', '-d' => true]);
     $this->assertContains("{$expected}\n", $this->tester->getDisplay());
 }