'L{ProcessMonitor.addProcess} raises a C{KeyError} if a process with the
given name already exists.'

def test_addProcessDuplicateKeyError(self):

    self.pm.addProcess('foo', ['arg1', 'arg2'], uid=1, gid=2, env={})
    self.assertRaises(KeyError, self.pm.addProcess, 'foo', ['arg1', 'arg2'], uid=1, gid=2, env={})
