@Test public void shouldParseCommaSeparatedListOfClassesToAvoidCallTo() { final ReportOptions actual = parseAddingRequiredArgs("--avoidCallsTo", "foo,bar,foo.bar"); assertEquals(Arrays.asList("foo", "bar", "foo.bar"), actual.getLoggingClasses()); }
@Test public void shouldDefaultLoggingPackagesToDefaultsDefinedByDefaultMutationConfigFactory() { final ReportOptions actual = parseAddingRequiredArgs(); assertEquals(ReportOptions.LOGGING_CLASSES, actual.getLoggingClasses()); }