'L{ProcessMonitor.addProcess} only starts the named program if
L{ProcessMonitor.startService} has been called.'

def test_addProcess(self):

    self.pm.addProcess('foo', ['arg1', 'arg2'], uid=1, gid=2, env={})
    self.assertEqual(self.pm.protocols, {})
    self.assertEqual(self.pm.processes, {'foo': (['arg1', 'arg2'], 1, 2, {})})
    self.pm.startService()
    self.reactor.advance(0)
    self.assertEqual(list(self.pm.protocols.keys()), ['foo'])
