def METHOD_NAME(self):
    # Ensure we get the same results if we rerun the method using the same
    # inputs. Also ensure we get the same results if we run the method
    # using a grouping vector or a data frame with equivalent groupings.
    exp = pd.Series(index=self.exp_index,
                    data=['ANOSIM', 'R', 4, 2, 0.25, 0.671, 999],
                    name='ANOSIM results')
    for _ in range(2):
        np.random.seed(0)
        obs = anosim(self.dm_ties, self.grouping_equal)
        self.assert_series_equal(obs, exp)
    for _ in range(2):
        np.random.seed(0)
        obs = anosim(self.dm_ties, self.df, column='Group')
        self.assert_series_equal(obs, exp)