test_class.declarator: task
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private RemoveAllFolders task;
test_class.type: RemoveAllFolders
test_class.var_name: task
test_class.declarator: repository
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private FolderRepository repository;
test_class.type: FolderRepository
test_class.var_name: repository
test_class.file: dataprep-upgrade/src/test/java/org/talend/dataprep/upgrade/to_1_2_0_PE/RemoveAllFoldersTest.java
test_class.identifier: RemoveAllFoldersTest
test_class.superclass: extends Base_1_2_0_PE_Test
test_case.body: @Test
      public void shouldRemoveFolders() throws Exception {
          // given
          assertTrue(repository.size() > 0);
  
          // when
          task.run();
  
          // then
          assertEquals(0, repository.size());
      }
test_case.class_method_signature: RemoveAllFoldersTest.shouldRemoveFolders()
test_case.full_signature: @Test public void shouldRemoveFolders()
test_case.identifier: shouldRemoveFolders
test_case.invocations: assertTrue size run assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldRemoveFolders()
focal_class.declarator: LOG = getLogger(RemoveAllFolders.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = getLogger(RemoveAllFolders.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: folderRepository
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private FolderRepository folderRepository;
focal_class.type: FolderRepository
focal_class.var_name: folderRepository
focal_class.file: dataprep-upgrade/src/main/java/org/talend/dataprep/upgrade/to_1_2_0_PE/RemoveAllFolders.java
focal_class.identifier: RemoveAllFolders
focal_class.interfaces: implements BaseUpgradeTaskTo_1_2_0_PE
focal_class.class_method_signature: RemoveAllFolders.getOrder()
focal_class.full_signature: @Override public int getOrder()
focal_class.identifier: getOrder
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getOrder()
focal_class.class_method_signature: RemoveAllFolders.getTarget()
focal_class.full_signature: @Override public target getTarget()
focal_class.identifier: getTarget
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: target
focal_class.signature: target getTarget()
focal_class.class_method_signature: RemoveAllFolders.run()
focal_class.full_signature: @Override public void run()
focal_class.identifier: run
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void run()
focal_method.body: @Override
      public void run() {
          folderRepository.clear();
          LOG.debug("All folders were removed but the home one.");
      }
focal_method.class_method_signature: RemoveAllFolders.run()
focal_method.full_signature: @Override public void run()
focal_method.identifier: run
focal_method.invocations: clear debug
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void run()