def METHOD_NAME(self):
    # This tests the masking of a 2d data array
    cube = self.cube_2d
    discontiguity_array = ma.getmaskarray(cube.data).copy()
    expected = cube.copy()
    # Remove mask so that we can pass an unmasked data set to
    # mask_discontiguities, and check that it masks the correct point by
    # comparing with masked data
    cube.data = cube.data.data
    returned = mask_cube(cube, discontiguity_array, in_place=True)
    np.testing.assert_array_equal(expected.data.mask, cube.data.mask)
    self.assertOriginalMetadata(cube, "full2d_global")
    self.assertIs(returned, None)