@Test(expected = IllegalArgumentException.class) public void checkParametersEmptyParameters() { ReporterParameterParser.checkParameters( Collections.emptySet()); }
static void checkParameters(Set<String> parameters) { Objects.requireNonNull(parameters, "Parameters must not be null"); if (parameters.isEmpty()) { LOGGER.error("No parameters provided for the reporter reporter."); LOGGER.info(InfoRequestFactory.helpMessage()); throw new IllegalArgumentException("No parameters provided for the reporter reporter."); } }
ReporterParameterParser { static void checkParameters(Set<String> parameters) { Objects.requireNonNull(parameters, "Parameters must not be null"); if (parameters.isEmpty()) { LOGGER.error("No parameters provided for the reporter reporter."); LOGGER.info(InfoRequestFactory.helpMessage()); throw new IllegalArgumentException("No parameters provided for the reporter reporter."); } } }
ReporterParameterParser { static void checkParameters(Set<String> parameters) { Objects.requireNonNull(parameters, "Parameters must not be null"); if (parameters.isEmpty()) { LOGGER.error("No parameters provided for the reporter reporter."); LOGGER.info(InfoRequestFactory.helpMessage()); throw new IllegalArgumentException("No parameters provided for the reporter reporter."); } } private  ReporterParameterParser(); }
ReporterParameterParser { static void checkParameters(Set<String> parameters) { Objects.requireNonNull(parameters, "Parameters must not be null"); if (parameters.isEmpty()) { LOGGER.error("No parameters provided for the reporter reporter."); LOGGER.info(InfoRequestFactory.helpMessage()); throw new IllegalArgumentException("No parameters provided for the reporter reporter."); } } private  ReporterParameterParser();  }
ReporterParameterParser { static void checkParameters(Set<String> parameters) { Objects.requireNonNull(parameters, "Parameters must not be null"); if (parameters.isEmpty()) { LOGGER.error("No parameters provided for the reporter reporter."); LOGGER.info(InfoRequestFactory.helpMessage()); throw new IllegalArgumentException("No parameters provided for the reporter reporter."); } } private  ReporterParameterParser();   }