test_class.file: dockerfile-image-update/src/test/java/com/salesforce/dockerfileimageupdate/utils/ResultsProcessorTest.java
test_class.identifier: ResultsProcessorTest
test_case.body: @Test
      public void testProcessResultsHasSkippedReposAndExceptions() {
          Logger mockLogger = mock(Logger.class);
          List<String> skippedRepos = Collections.singletonList("skipped");
          try {
              ResultsProcessor.processResults(skippedRepos,
                      Collections.singletonList(new IOException("test")),
                      mockLogger);
              fail();
          } catch (IOException exception) {
              verify(mockLogger, times(1)).info(REPOS_SKIPPED_MESSAGE, skippedRepos);
          }
      }
test_case.class_method_signature: ResultsProcessorTest.testProcessResultsHasSkippedReposAndExceptions()
test_case.full_signature: @Test public void testProcessResultsHasSkippedReposAndExceptions()
test_case.identifier: testProcessResultsHasSkippedReposAndExceptions
test_case.invocations: mock singletonList processResults singletonList fail info verify times
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testProcessResultsHasSkippedReposAndExceptions()
focal_class.declarator: REPOS_SKIPPED_MESSAGE = "List of repos skipped: {}"
focal_class.modifier: public static final
focal_class.original_string: public static final String REPOS_SKIPPED_MESSAGE = "List of repos skipped: {}";
focal_class.type: String
focal_class.var_name: REPOS_SKIPPED_MESSAGE
focal_class.file: dockerfile-image-update/src/main/java/com/salesforce/dockerfileimageupdate/utils/ResultsProcessor.java
focal_class.identifier: ResultsProcessor
focal_class.class_method_signature: ResultsProcessor.processResults(List<String> skippedRepos, List<IOException> exceptions, Logger logger)
focal_class.full_signature: public static void processResults(List<String> skippedRepos, List<IOException> exceptions, Logger logger)
focal_class.identifier: processResults
focal_class.modifiers: public static
focal_class.parameters: (List<String> skippedRepos, List<IOException> exceptions, Logger logger)
focal_class.return: void
focal_class.signature: void processResults(List<String> skippedRepos, List<IOException> exceptions, Logger logger)
focal_method.body: public static void processResults(List<String> skippedRepos, List<IOException> exceptions, Logger logger) throws IOException {
          if (!skippedRepos.isEmpty()) {
              logger.info(REPOS_SKIPPED_MESSAGE, skippedRepos);
          }
  
          if (!exceptions.isEmpty()) {
              throw new IOException(String.format("There were %s errors with changing Dockerfiles.", exceptions.size()));
          }
      }
focal_method.class_method_signature: ResultsProcessor.processResults(List<String> skippedRepos, List<IOException> exceptions, Logger logger)
focal_method.full_signature: public static void processResults(List<String> skippedRepos, List<IOException> exceptions, Logger logger)
focal_method.identifier: processResults
focal_method.invocations: isEmpty info isEmpty format size
focal_method.modifiers: public static
focal_method.parameters: (List<String> skippedRepos, List<IOException> exceptions, Logger logger)
focal_method.return: void
focal_method.signature: void processResults(List<String> skippedRepos, List<IOException> exceptions, Logger logger)