def METHOD_NAME(self, array):
    utils.assert_array_equal(array.value, self.data)
    utils.assert_array_equal(array.bins.value, self.bins)
    assert array.x0 == 0 * units.Hertz
    assert array.df == 1 * units.Hertz
    assert array.y0 == self.bins[0]
    assert array.dy == self.bins[1] - self.bins[0]