def METHOD_NAME(self):
    self.tmpdirname = tempfile.mkdtemp()
    self.num_block_records = 5
    # Realm tok
    vocab_tokens = [
        "[UNK]",
        "[CLS]",
        "[SEP]",
        "[PAD]",
        "[MASK]",
        "test",
        "question",
        "this",
        "is",
        "the",
        "first",
        "second",
        "third",
        "fourth",
        "fifth",
        "record",
        "want",
        "##want",
        "##ed",
        "wa",
        "un",
        "runn",
        "##ing",
        ",",
        "low",
        "lowest",
    ]
    realm_tokenizer_path = os.path.join(self.tmpdirname, "realm_tokenizer")
    os.makedirs(realm_tokenizer_path, exist_ok=True)
    self.vocab_file = os.path.join(realm_tokenizer_path, VOCAB_FILES_NAMES["vocab_file"])
    with open(self.vocab_file, "w", encoding="utf-8") as vocab_writer:
        vocab_writer.write("".join([x + "\n" for x in vocab_tokens]))
    realm_block_records_path = os.path.join(self.tmpdirname, "realm_block_records")
    os.makedirs(realm_block_records_path, exist_ok=True)