'L{PIDFile.read} raises L{InvalidPIDFileError} when given an empty file
path.'

def test_readWithBogusPID(self):

    pidValue = '$foo!'
    pidFile = PIDFile(DummyFilePath(pidValue))
    e = self.assertRaises(InvalidPIDFileError, pidFile.read)
    self.assertEqual(str(e), 'non-integer    PID    value    in    PID    file:    {!r}'.format(pidValue))
