'L{Runner.killIfRequested} when C{kill} is true and given a C{pidFile}
containing no value exits with L{ExitStatus.EX_DATAERR}.'

def test_killRequestedWithPIDFileEmpty(self):

    pidFile = PIDFile(DummyFilePath(''))
    runner = Runner(reactor=MemoryReactor(), kill=True, pidFile=pidFile)
    runner.killIfRequested()
    self.assertEqual(self.exit.status, ExitStatus.EX_DATAERR)
    self.assertEqual(self.exit.message, 'Invalid    PID    file.')
