'Create a new fake file (the next file that self.ui will open) with the
given list of lines to be returned from readline().'

def newFile(self, lines):

    self.fakeFile = FakeFile()
    self.fakeFile.inlines = lines
