'L{_FDDetector._procFDImplementation} raises L{OSError} if there is no
I{/proc/<pid>/fd} directory, otherwise it returns the basenames of its
children interpreted as integers.'

def test_procFDImplementation(self):

    self.procfs = False
    self.assertRaises(OSError, self.detector._procFDImplementation)
    self.procfs = True
    self.assertEqual([0, 1, 2], self.detector._procFDImplementation())
