assertThat(lineBuilder.getScmRevision()).isEqualTo("rev-1");
}
@Test
public void fail_when_changeset_is_empty() {
BatchReport.Changesets scmReport = BatchReport.Changesets.newBuilder()
<BUG>.addChangeset(BatchReport.Changesets.Changeset.newBuilder()
.build())</BUG>
.addChangesetIndexByLine(0)
.build();
ScmLineReader lineScm = new ScmLineReader(scmReport);

assertThat(lineBuilder.getScmRevision()).isEqualTo("rev-1");
}
@Test
public void fail_when_changeset_is_empty() {
BatchReport.Changesets scmReport = BatchReport.Changesets.newBuilder()
.addChangeset(newChangeSetBuilder()
.build())
.addChangesetIndexByLine(0)
.build();
ScmLineReader lineScm = new ScmLineReader(scmReport);
