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