private void mockInvokeSuccess(final String serverUrl, final TransactionInfo info, final String result)
throws InterruptedException, TimeoutException, NotifyRemotingException {
info.setUniqueQualifier(UNIQUE_QUALIFIER);
EasyMock.expect(
this.remotingClient.invokeToGroup(serverUrl, new TransactionCommand(info, OpaqueGenerator.getNextOpaque()),
DEFAULT_REQ_TIMEOUT, TimeUnit.MILLISECONDS)).andReturn(
new BooleanCommand(HttpStatus.Success, result, 0));
}