def test_makeService(self):
        """
        The command line gets added as a process to the ProcessMontor.
        """
        opt = tap.Options()
        opt.parseOptions(['ping', '-c', '3', '8.8.8.8'])
        s = tap.makeService(opt)
        self.assertIsInstance(s, ProcessMonitor)
        self.assertIn('ping -c 3 8.8.8.8', s.processes)

        The command line gets added as a process to the ProcessMontor.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/runner/test/test_procmontap.py