def METHOD_NAME(self):
    cube = simple_2d()
    cube.data = cube.lazy_data()
    mask = [0, 1, 1, 0]
    returned = mask_cube(cube, mask, in_place=True)
    self.assertTrue(cube.has_lazy_data())
    # Touch the data so lazyness status doesn't affect CML check.
    cube.data
    self.assertOriginalMetadata(cube, "simple_2d")
    for subcube in cube.slices("foo"):
        # Mask should have been broadcast across "bar" dimension.
        np.testing.assert_array_equal(subcube.data.mask, mask)
    self.assertIs(returned, None)