public void TestBasicFlow() { IEngine engine = InjectorStub.GetTestEngine(); TestHarvester harvester = (TestHarvester)((Engine)engine).Harvester; harvester.ReplyMode = TestHarvester.ReplyModes.Success; Inference inference = engine.GetInference(customerID, 0, false, GetInferenceMode.DownloadIfOld); Log.Info("Inference read: {0}", inference); } // TestBasicFlow
public void TestTimeoutL() { IEngine engine = InjectorStub.GetTestEngine(); TestHarvester harvester = (TestHarvester)((Engine)engine).Harvester; harvester.ReplyMode = TestHarvester.ReplyModes.TimeoutA; Inference inference = engine.GetInference(customerID, 0, false, GetInferenceMode.ForceDownload); Log.Info("Inference read: {0}", inference); } // TestTimeoutL