'L{Runner.run} exits with L{ExitStatus.EX_USAGE} and the expected
message if a process is already running that corresponds to the given
PID file.'

def test_runAlreadyRunning(self):

    pidFile = PIDFile(DummyFilePath(self.pidFileContent))
    pidFile.isRunning = (lambda : True)
    runner = Runner(reactor=MemoryReactor(), pidFile=pidFile)
    runner.run()
    self.assertEqual(self.exit.status, ExitStatus.EX_CONFIG)
    self.assertEqual(self.exit.message, 'Already    running.')
