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

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