public IPipeline <IEnumerable <GameRoot> > Build() { var nodes = GetNodesCopy(); _pipelineNodes.Clear(); var pipeline = new GameRootPipeline(nodes, _gameRootRepository); return(pipeline); }
public void Setup() { _gameRootRepository = A.Fake <IAsyncRepository <GameRoot> >(); _gameRootPipeline = new GameRootPipeline(CreateTestNodes(), _gameRootRepository); }