'Check the output of the stat method on a directory.'

def test_statDirectory(self):

    self.createDirectory('ned')
    d = self.shell.stat(('ned',), ('size', 'directory'))
    def cb(res):
        self.assertTrue(res[1])
    d.addCallback(cb)
    return d
