def METHOD_NAME(self, im_type):
    normalizer = NormalizeIntensity(nonzero=True, channel_wise=True)
    input_data = im_type(np.array([[0.0, 3.0, 0.0, 4.0], [0.0, 4.0, 0.0, 5.0]]))
    expected = np.array([[0.0, -1.0, 0.0, 1.0], [0.0, -1.0, 0.0, 1.0]])
    normalized = normalizer(input_data)
    assert_allclose(normalized, im_type(expected), type_test="tensor")