@Test public void shouldReturnRowOffsetIfConfigIncludesHeaderLine() throws Exception { EDIConfiguration configuration = new EDIConfiguration(); configuration.setHeaderInFile(true); EDIFileTemplate fileTemplate = new EDIFileTemplate(configuration, null); assertThat(fileTemplate.getRowOffset(), is(1)); }
@JsonIgnore public Integer getRowOffset() { return this.configuration.isHeaderInFile() ? 1 : 0; }
EDIFileTemplate { @JsonIgnore public Integer getRowOffset() { return this.configuration.isHeaderInFile() ? 1 : 0; } }
EDIFileTemplate { @JsonIgnore public Integer getRowOffset() { return this.configuration.isHeaderInFile() ? 1 : 0; }  }
EDIFileTemplate { @JsonIgnore public Integer getRowOffset() { return this.configuration.isHeaderInFile() ? 1 : 0; }  Collection<EDIFileColumn> filterIncludedColumns(); void validateAndSetModifiedBy(Long userId, List<String> mandatoryColumnNames); @JsonIgnore Integer getRowOffset(); @JsonIgnore String getDateFormatForColumn(final String columnName); }
EDIFileTemplate { @JsonIgnore public Integer getRowOffset() { return this.configuration.isHeaderInFile() ? 1 : 0; }  Collection<EDIFileColumn> filterIncludedColumns(); void validateAndSetModifiedBy(Long userId, List<String> mandatoryColumnNames); @JsonIgnore Integer getRowOffset(); @JsonIgnore String getDateFormatForColumn(final String columnName);  }