예제 #1
0
 @Test
 public void shouldNotExportLineCoverageWhenFlagNotSet() {
   final ReportOptions actual = parseAddingRequiredArgs("");
   assertFalse(actual.shouldExportLineCoverage());
 }
예제 #2
0
 @Test
 public void shouldParseExportLineCoverageFlag() {
   final ReportOptions actual = parseAddingRequiredArgs("--exportLineCoverage");
   assertTrue(actual.shouldExportLineCoverage());
 }