case 32: hash = (37 * hash) + CLEARREQUEST_FIELD_NUMBER; hash = (53 * hash) + getClearRequest().hashCode(); break; case 33:
break; case 32: result = result && getClearRequest() .equals(other.getClearRequest()); break; case 33:
mergeClearRequest(other.getClearRequest()); break;
@Test public void processReturnsSuccessForValidRegion() throws Exception { RegionAPI.ClearRequest removeRequest = ProtobufRequestUtilities.createClearRequest(TEST_REGION).getClearRequest(); Result result = operationHandler.process(serializationService, removeRequest, TestExecutionContext.getNoAuthCacheExecutionContext(cacheStub)); assertTrue(result instanceof Success); }
@Test public void processReturnsFailureForInvalidRegion() throws Exception { RegionAPI.ClearRequest removeRequest = ProtobufRequestUtilities.createClearRequest(MISSING_REGION).getClearRequest(); expectedException.expect(RegionDestroyedException.class); Result result = operationHandler.process(serializationService, removeRequest, TestExecutionContext.getNoAuthCacheExecutionContext(cacheStub)); } }