TXFailoverOp { public static void execute(ExecutablePool pool, int txId) { pool.execute(new TXFailoverOpImpl(txId)); } private  TXFailoverOp(); static void execute(ExecutablePool pool, int txId);  }
@Test public void txFailoverThrowsTransactionExceptionBack() throws Exception { OpExecutorImpl exec = getTestableOpExecutorImpl(); exec.setupServerAffinity(Boolean.TRUE); expectedException.expect(TransactionException.class); TXFailoverOp.execute(exec, 1); }