@Test
public void testLocalAbort() throws Exception {

    doHandleOperation(handle);
    handle.localAbort(new RuntimeException("fail"));
    final Envelope<?> envelope = backendProbe.expectMsgClass(Envelope.class);
    final AbortLocalTransactionRequest request = (AbortLocalTransactionRequest) envelope.getMessage();
    Assert.assertEquals(TRANSACTION_ID, request.getTarget());
    checkClosed();
}