@Test
public void testEnsureClosed() {

    doHandleOperation(handle);
    final Collection<AbstractProxyTransaction> transactions = handle.ensureClosed();
    Assert.assertNotNull(transactions);
    Assert.assertEquals(1, transactions.size());
}