def METHOD_NAME(self, dim):
    # Duplicate the basic operation, but convert cubes to meshcubes.
    cube1, cube2 = self.SetUpReversed()
    self._convert_to_meshcubes([cube1, cube2], dim)
    with self.assertRaises(ValueError):
        add(cube1, cube2)