@Test(expected = DbFeatureException.class)
public void testUsedTablesOnlyCleanupOnClosedConnection() throws Exception {

    // GIVEN
    final CleanupStrategyProvider provider = new CleanupStrategyProvider();
    final CleanupStrategyExecutor<IDatabaseConnection, IDataSet> strategyExecutor = provider.usedTablesOnlyStrategy();
    assertThat(strategyExecutor, notNullValue());
    connection.close();
    // WHEN
    strategyExecutor.execute(connection, Arrays.asList(initialDataSet));
}