public void Setup() { runner = DataMother.GrammarsProjectRunner(); theLibrary = runner.GetLibary(); controller = MockRepository.GenerateMock <IOutlineController>(); service = new OutlineTreeService(new ProjectContext() { Library = theLibrary }); }
public void Setup() { runner = DataMother.GrammarsProjectRunner(); theLibrary = runner.GetLibary(); controller = MockRepository.GenerateMock <IOutlineController>(); service = new OutlineTreeService(new ProjectContext() { Library = theLibrary }); }