def METHOD_NAME(self, encodings):
    single, pair = encodings
    assert single.token_to_sequence(2) == 0
    assert pair.token_to_sequence(2) == 0
    assert pair.token_to_sequence(0) == None
    assert pair.token_to_sequence(5) == None
    assert pair.token_to_sequence(6) == 1
    assert pair.token_to_sequence(8) == 1
    assert pair.token_to_sequence(9) == None
    assert pair.token_to_sequence(1200) == None