@Test public void shouldNotIncludeLaunchClasspathWhenFlagUnset() { final ReportOptions actual = parseAddingRequiredArgs("--includeLaunchClasspath=false"); assertFalse(actual.isIncludeLaunchClasspath()); }
@Test public void shouldIncludeLaunchClasspathWhenFlag() { final ReportOptions actual = parseAddingRequiredArgs("--includeLaunchClasspath=true"); assertTrue(actual.isIncludeLaunchClasspath()); }
@Test public void shouldIncludeLaunchClasspathByDefault() { final ReportOptions actual = parseAddingRequiredArgs(""); assertTrue(actual.isIncludeLaunchClasspath()); }