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