code: def test_current_file_collection(self):
      self.project_controller.init("test3", "test description")
      _ = self.__setup()
      # Test failure because of unstaged changes
      failed = False
      try:
          self.file_collection_controller.current_file_collection()
      except UnstagedChanges:
          failed = True
      assert failed
      # Test success with created files
      file_collection_obj = self.file_collection_controller.create([])
      current_file_collection_obj = (
          self.file_collection_controller.current_file_collection()
      )
      assert current_file_collection_obj == file_collection_obj
  
imports: import os
  import shutil
  import tempfile
  import platform
  from io import open
  from datmo.config import Config
  from datmo.core.controller.project import ProjectController
  from datmo.core.controller.file.file_collection import FileCollectionController
  from datmo.core.util.exceptions import EntityNotFound, UnstagedChanges
label_desc: Use image node_id 4 for calling the TestFileCollectionController obj's underlying member method code with example usage: obj.test_current_file_collection() without return types