@Test
public void testVerifyDataAfterFeatureExecution() throws DbFeatureException, SQLException {

    // GIVEN
    when(expectedDataSets.strict()).thenReturn(Boolean.FALSE);
    when(expectedDataSets.value()).thenReturn(new String[] {});
    when(expectedDataSets.orderBy()).thenReturn(new String[] {});
    when(expectedDataSets.excludeColumns()).thenReturn(new String[] {});
    // WHEN
    final DbFeature<Connection> feature = featureExecutor.createVerifyDataAfterFeature(expectedDataSets);
    assertThat(feature, notNullValue());
    feature.execute(connection);
    // THEN
    verify(connection, times(2)).prepareStatement(anyString());
    verify(ps, times(2)).executeQuery();
    verify(rs, times(2)).next();
    verify(rs, times(2)).close();
    verify(ps, times(2)).close();
    verifyNoMoreInteractions(connection);
}