def METHOD_NAME(self, mock_path, mock_wipe):
    mock_path.return_value = True
    self.boot_image.temp_directories.append('boot-root-directory')
    self.boot_image.cleanup()
    mock_wipe.assert_called_once_with('boot-root-directory')