@Test
void onNonFeeTransfer() throws Exception {

    // given
    NonFeeTransfer nonFeeTransfer1 = new NonFeeTransfer(1L, new NonFeeTransfer.Id(1L, EntityId
            .of(0L, 0L, 1L, ACCOUNT)));
    NonFeeTransfer nonFeeTransfer2 = new NonFeeTransfer(-2L, new NonFeeTransfer.Id(2L, EntityId
            .of(0L, 0L, 2L, ACCOUNT)));
    // when
    sqlEntityListener.onNonFeeTransfer(nonFeeTransfer1);
    sqlEntityListener.onNonFeeTransfer(nonFeeTransfer2);
    completeFileAndCommit();
    // then
    assertEquals(2, nonFeeTransferRepository.count());
    assertExistsAndEquals(nonFeeTransferRepository, nonFeeTransfer1, nonFeeTransfer1.getId());
    assertExistsAndEquals(nonFeeTransferRepository, nonFeeTransfer2, nonFeeTransfer2.getId());
}