public void Setup() { runner = StoryTeller.Testing.DataMother.GrammarsProjectRunner(); theLibrary = runner.GetLibary(); controller = MockRepository.GenerateMock<IOutlineController>(); service = new OutlineTreeService(new ProjectContext() { Library = theLibrary }); }
public void SetUp() { runner = new ProjectTestRunner(DataMother.THE_GRAMMAR_FILE); usages = new UsageGraph(runner.GetLibary(), new ConsoleUsageGraphListener()); usages.Rebuild(runner.Hierarchy); }
public void SetUp() { runner = DataMother.GrammarsProjectRunner(); usages = new UsageGraph(runner.GetLibary(), new ConsoleUsageGraphListener()); usages.Rebuild(runner.Hierarchy); }