def METHOD_NAME(self):
    image = get_cube_image()
    mask_arr = np.zeros((10, 10, 10), dtype=np.uint8)
    mask_arr[:, :5] = 1
    mask_arr[:, 5:] = 2
    image.set_mask(mask_arr)
    image_res, _ = ImageProjection.transform(image, ROIInfo(None), ImageProjectionParams(keep_mask=True))
    assert image_res.shape == (1, 1, 10, 10)
    assert image_res.mask.shape == (1, 1, 10, 10)