+ @Test
+ public void testMakeRequestViaProperties() throws Exception {
+ // clear the enrichment data and remake the operation
+ event.setAai(null);
+ context = new ControlLoopEventContext(event);
+ params = params.toBuilder().context(context).build();
+ oper = new RerouteOperation(params, config);
+
+ oper.setProperty(OperationProperties.ENRICHMENT_SERVICE_ID, MY_SERVICE);
+ oper.setProperty(OperationProperties.ENRICHMENT_NETWORK_ID, MY_NETWORK);
+
+ verifyRequest("reroute.json", verifyOperation(oper), IGNORE_FIELDS);
+ }
+