public void testGetNewDestination() throws Exception {
Client client = this.getClient();
RegressionSuiteUtil.initializeTM1Database(this.getCatalogContext(), client);
TM1Client.Transaction txn = Transaction.DELETE_CALL_FORWARDING;
Object params[] = txn.generateParams(NUM_SUBSCRIBERS);
ClientResponse cresponse = null;
try {
cresponse = client.callProcedure(txn.callName, params);
assertEquals(Status.OK, cresponse.getStatus());
} catch (ProcCallException ex) {
cresponse = ex.getClientResponse();
assertEquals(cresponse.toString(), Status.ABORT_USER, cresponse.getStatus());
}
assertNotNull(cresponse);
assertTrue(cresponse.toString(), cresponse.isSinglePartition());
}