### Question:
Step2Panel extends JPanel { public boolean isSampleBased() { return isSampleBasedCheckBox.isSelected(); } Step2Panel(final int csvFileRowCount); String getCommentIndicator(); void setCommentIndicator(final String commentIndicator); String getDecimalSeparator(); void setDecimalSeparator(final String decimalSeparator); String getColumnSeparator(); void setColumnSeparator(final String columnSeparator); String getCSVFileContent(); void setCSVFileContent(final String content); void setCSVFileHighlight(final int number); int getFirstLineWithData(); void setFirstLineWithData(final int firstLineWithData); String getTextQualifier(); void setTextQualifier(final String textQualifier); boolean getUseHeader(); void setUseHeader(final boolean useHeader); Step2Panel setSampleBased(final boolean isSampleBased); boolean isSampleBased(); String getSampleBasedStartRegEx(); Step2Panel setSampleBasedStartRegEx(final String sampleBasedStartRegEx); int getSampleBasedDateOffset(); Step2Panel setSampleBasedDateOffset(final int dateOffset); String getSampleBasedDateExtractionRegEx(); Step2Panel setSampleBasedDateExtractionRegEx(final String sampleBasedDateExtractionRegEx); String getSampleBasedDatePattern(); Step2Panel setSampleBasedDatePattern(final String sampleBasedDatePattern); int getSampleBasedDataOffset(); Step2Panel setSampleBasedDataOffset(final int dataOffset); int getSampleBasedSampleSizeOffset(); Step2Panel setSampleBasedSampleSizeOffset(final int sampleSizeOffset); String getSampleBasedSampleSizeRegEx(); Step2Panel setSampleBasedSampleSizeRegEx(final String sampleBasedSampleSizeRegEx);  }### Answer:
@Test public void shouldReturnFalseAsDefaultValueForSampleBased() { assertThat(panel.isSampleBased(), is(false)); }