Exemplo n.º 1
0
 @Test
 public void shouldDetermineIfSuppressTimestampedReportsFlagIsSetWhenFalseSupplied() {
   final ReportOptions actual = parseAddingRequiredArgs("--timestampedReports=false");
   assertFalse(actual.shouldCreateTimeStampedReports());
 }
Exemplo n.º 2
0
 @Test
 public void shouldCreateTimestampedReportsByDefault() {
   final ReportOptions actual = parseAddingRequiredArgs();
   assertTrue(actual.shouldCreateTimeStampedReports());
 }