'Create a L{cftp.StdioClient} hooked up to dummy transport and a fake
user database.'

def setUp(self):

    self.fakeFilesystem = FilesystemAccessExpectations()
    sftpClient = InMemorySFTPClient(self.fakeFilesystem)
    self.client = cftp.StdioClient(sftpClient)
    self.client.currentDirectory = '/'
    self.database = self.client._pwd = UserDatabase()
    self.setKnownConsoleSize(500, 24)
    self.client.transport = self.client.client.transport
