def METHOD_NAME(self, index: Index) -> None:
    # We can't handle NaNs
    if any(map(isna_element, index.values)):
        return
    np.random.seed(0)
    ilocs = np.arange(len(index)) # Need new array, will shuffle in-place
    np.random.shuffle(ilocs)
    other = tp.cast(Index, index.iloc[ilocs])
    expected = index.iter_label().apply(other._loc_to_iloc)
    post = index._index_iloc_map(other)
    self.assertEqual(post.tolist(), expected.tolist())