def METHOD_NAME(self, fixture_name, vars_to_read, pattern, filenum, lastfilename):
    files = self.get_reader(fixture_name).get_file_list(
        vars_to_read=vars_to_read, pattern=pattern
    )
    assert len(files) == filenum
    assert Path(files[-1]).name == lastfilename