.build())
.addChangesetIndexByLine(0)
.build());
underTest.execute();
assertThat(dbTester.countRowsOfTable("file_sources")).isEqualTo(1);
<BUG>FileSourceDto fileSourceDto = dbClient.fileSourceDao().selectSourceByFileUuid(session, FILE_UUID);
DbFileSources.Data data = FileSourceDto.decodeSourceData(fileSourceDto.getBinaryData());</BUG>
assertThat(data.getLinesList()).hasSize(1);
assertThat(data.getLines(0).getScmAuthor()).isEqualTo("john");
assertThat(data.getLines(0).getScmDate()).isEqualTo(123456789L);

.build())
.addChangesetIndexByLine(0)
.build());
underTest.execute();
assertThat(dbTester.countRowsOfTable("file_sources")).isEqualTo(1);
FileSourceDto fileSourceDto = dbClient.fileSourceDao().selectSourceByFileUuid(session, FILE_UUID);
assertThat(fileSourceDto.getRevision()).isEqualTo("rev-1");
DbFileSources.Data data = FileSourceDto.decodeSourceData(fileSourceDto.getBinaryData());
assertThat(data.getLinesList()).hasSize(1);
assertThat(data.getLines(0).getScmAuthor()).isEqualTo("john");
assertThat(data.getLines(0).getScmDate()).isEqualTo(123456789L);
