def METHOD_NAME(self, mock_load_raw):
    """Test that ValueError is raised when cubes are empty."""
    mock_load_raw.return_value = CubeList([])
    msg = "Can not load cubes from myfilename"
    with self.assertRaises(ValueError, msg=msg):
        load('myfilename')