def METHOD_NAME(self):
    key = "test"
    rotate = RandRotate90d(keys=key, prob=1.0, max_k=2, spatial_axes=(0, 1))
    for p in TEST_NDARRAYS_ALL:
        rotate.set_random_state(234)
        im = {key: p(self.imt[0])}
        call_param = {"data": im}
        rotated = rotate(**call_param)
        # test lazy
        test_resampler_lazy(rotate, rotated, call_param=call_param, seed=234, output_key=key)
        rotate.lazy = False
        expected = [np.rot90(channel, 1, (0, 1)) for channel in self.imt[0]]
        expected = np.stack(expected)
        assert_allclose(rotated[key], p(expected), type_test="tensor")
        test_local_inversion(rotate, rotated, im, key)