InternalClientConnection conn =
InternalClientConnection.getRootConnection();
AbandonOperationBasis abandonOperation =
new AbandonOperationBasis(conn, conn.nextOperationID(),
conn.nextMessageID(), new ArrayList<Control>(), 1);
CancelRequest cancelRequest = new CancelRequest(true,
Message.raw("Test Cancel"));
assertEquals(abandonOperation.cancel(cancelRequest).getResultCode(),