@Test public void shouldDetermineIfInlinedCodeFlagIsSet() { final ReportOptions actual = parseAddingRequiredArgs("--detectInlinedCode"); assertTrue(actual.isDetectInlinedCode()); }
@Test public void shouldDetermineIfInlinedCodeFlagIsSetWhenFalseSupplied() { final ReportOptions actual = parseAddingRequiredArgs("--detectInlinedCode=false"); assertFalse(actual.isDetectInlinedCode()); }
@Test public void shouldNotDetectInlinedCodeByDefault() { final ReportOptions actual = parseAddingRequiredArgs(""); assertFalse(actual.isDetectInlinedCode()); }