public async Task CreatesAnonymousPipes([Frozen] IStreamFactory streamFactory, InputData input, MessageLoop sut) { await sut.Start(); streamFactory.Received(1).CreateAnonymousPipeClientStream(PipeDirection.In, input.PipeInName); streamFactory.Received(1).CreateAnonymousPipeClientStream(PipeDirection.Out, input.PipeOutName); streamFactory.Received(1).CreateAnonymousPipeClientStream(PipeDirection.Out, input.PipeEventName); }