StoryTeller.Execution.ProjectTestRunner.GetLibary C# (CSharp) Méthode

GetLibary() public méthode

public GetLibary ( ) : FixtureLibrary
Résultat StoryTeller.Model.FixtureLibrary
        public FixtureLibrary GetLibary()
        {
            return _engine.Library;
        }

Usage Example

        public void Setup()
        {
            runner = StoryTeller.Testing.DataMother.GrammarsProjectRunner();
            theLibrary = runner.GetLibary();

            controller = MockRepository.GenerateMock<IOutlineController>();

            service = new OutlineTreeService(new ProjectContext()
            {
                Library = theLibrary
            });
        }
All Usage Examples Of StoryTeller.Execution.ProjectTestRunner::GetLibary