'When the reactor is shutdown, the process is killed with signal `TERM`.'

def test_process_shutdown(self):

    reactor = ProcessCoreReactor()
    run(reactor, ['command', 'and', 'args'])
    [process] = reactor.processes
    reactor.fireSystemEvent('shutdown')
    self.assertEqual(process.transport.signals, ['TERM'])
