code: def test_delete(self):
      self.project_controller.init("test5", "test description")
  
      paths = self.__setup()
  
      file_collection_obj = self.file_collection_controller.create(
          paths
      )
  
      # Delete code in the project
      result = self.file_collection_controller.delete(
          file_collection_obj.id
      )
  
      # Check if code retrieval throws error
      thrown = False
      try:
          self.file_collection_controller.dal.file_collection.get_by_id(
              file_collection_obj.id
          )
      except EntityNotFound:
          thrown = True
  
      assert result == True and thrown == True
  
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 7 for calling the TestFileCollectionController obj's underlying member method code with example usage: obj.test_delete() without return types