private CollectExecution CreateCollectExecution(IDocumentSession session, CollectRequest collectRequest) { collectFactory = new CollectFactory(); CollectExecution collectExecution = collectFactory.CreateCollectExecution(session, collectRequest); return collectExecution; }
public void Should_be_possible_to_initialize_a_new_Collect_Execution() { var session = provider.GetSession(); CollectFactory collectFactory = new CollectFactory(session); //ProbeResult probeResult = probeResultFactory.CreateProbeResultForRegostryCollectWithError(); var request = new CollectRequestFactory().CreateCollectRequest(session).Item2; var execution = collectFactory.CreateCollectExecution(session, request); Assert.IsNotNull(execution); }