'L{Runner.run} uses the provided PID file.'

def test_runUsesPIDFile(self):

    pidFile = DummyPIDFile()
    runner = Runner(reactor=MemoryReactor(), pidFile=pidFile)
    self.assertFalse(pidFile.entered)
    self.assertFalse(pidFile.exited)
    runner.run()
    self.assertTrue(pidFile.entered)
    self.assertTrue(pidFile.exited)
