'L{ProcessMonitor.stopProcess} immediately sends a TERM signal to the
named process.'

def test_stopProcessNaturalTermination(self):

    self.pm.startService()
    self.pm.addProcess('foo', ['foo'])
    self.assertIn('foo', self.pm.protocols)
    timeToDie = self.pm.protocols['foo'].transport._terminationDelay = 1
    self.reactor.advance(self.pm.threshold)
    self.pm.stopProcess('foo')
    self.reactor.advance(timeToDie)
    self.assertEqual(self.reactor.seconds(), self.pm.timeStarted['foo'])
