/**
* Tests that a failed submit results in the proper submit failure response.
*/
public void testSubmitFailed() {
ProtocolSubmitRequest request = ProtocolSubmitRequest.newBuilder()
.setDelta(DELTA)
.setWaveletName(getWaveletUri(WAVELET_NAME)).build();
counter = 0;
rpcImpl.submit(controller, request, new RpcCallback<ProtocolSubmitResponse>() {
@Override