use of com.hazelcast.spi.impl.operationservice.OperationResponseHandler in project hazelcast by hazelcast.
the class InvocationUtilTest method executeLocallyWithRetryFailsWhenOperationHandlerIsSet.
@Test(expected = IllegalArgumentException.class)
public void executeLocallyWithRetryFailsWhenOperationHandlerIsSet() {
final Operation op = new Operation() {
};
op.setOperationResponseHandler(new OperationResponseHandler() {
@Override
public void sendResponse(Operation op, Object response) {
}
});
executeLocallyWithRetry(null, op);
}
Aggregations