public async Task RemoteProcedureTestWithDummyHost() { IProcessTransformationRunFactory factory = await RemotingServices.ConnectAsync <IProcessTransformationRunFactory>(new Uri($"ipc://{TransformationRunFactory.TransformationRunFactoryService}/{TransformationRunFactory.TransformationRunFactoryMethod}")); IProcessTextTemplatingEngine engine = new TemplatingEngine(); if (factory?.IsRunFactoryAlive() ?? default) { IProcessTransformationRunner runner = engine.PrepareTransformationRunner(Samples.template, new DummyHost(), factory); runner.Should().NotBeNull(); ITextTemplatingCallback result = factory.StartTransformation(runner.RunnerId); if (result.Errors.HasErrors) { foreach (TemplateError error in result.Errors) { Console.Out.WriteLine(error.Message); } } result.TemplateOutput.Should().Be(Samples.outcome); } }