'Mock the filesystem.'

def ListFiles(self):

    for child in self.content:
        path = '/'.join([self.path, child])
        result = self.DoStat(path)
        ps = self.pathspec.Copy()
        ps.Append(path=child, pathtype=self.supported_pathtype)
        result.pathspec = ps
        (yield result)
