@Test
public void testFindDataGaps2() throws Exception {

    final List<DataGap> gaps1 = new ArrayList<DataGap>();
    gaps1.add(new DataGap(30953884, 80953883));
    gaps1.add(new DataGap(30953883, 80953883));
    
    when(sqlTemplate.queryForLong(ArgumentMatchers.anyString())).thenReturn(0L);
    String sql = ArgumentMatchers.anyString();
    @SuppressWarnings("unchecked")
    ISqlRowMapper<DataGap> anyMapper = (ISqlRowMapper<DataGap>) ArgumentMatchers.any();
    when(sqlTemplate.query(sql, anyMapper, (Object[])ArgumentMatchers.any())).thenReturn(gaps1);
    dataService.findDataGaps();
    verifyNoMoreInteractions(sqlTransaction);
}