'The list of monitored processes must be included in the pickle state.'

def test_getStateIncludesProcesses(self):

    self.pm.addProcess('foo', ['arg1', 'arg2'], uid=1, gid=2, env={})
    self.assertEqual(self.pm.__getstate__()['processes'], {'foo': (['arg1', 'arg2'], 1, 2, {})})
