def METHOD_NAME():
    """Test ``close``."""
    product = mock.create_autospec(PreprocessorFile, instance=True)
    product._cubes = CubeList([Cube(0)])
    PreprocessorFile.close(product)
    product._update_attributes.assert_called_once_with()
    product.save.assert_called_once_with()
    product.save_provenance.assert_called_once_with()
    assert product._cubes is None