public void SetUp()
        {
            hierarchy =
                DataMother.BuildHierarchy(
                    @"
            t1,Success
            t2,Failure
            t3,Success
            s1/t4,Success
            s1/t5,Success
            s1/t6,Failure
            s1/s2/t7,Success
            s1/s2/t8,Failure
            s1/s2/s3/t9,Success
            s1/s2/s3/t10,Success
            s1/s2/s3/s4/t11,Success
            s5/t12,Success
            s5/s6/t13,Success
            s5/s6/s7/t14,Success
            s5/s6/s7/s8/t15,Success
            s9/t16,Success
            s9/t17,Success
            s9/t18,Success
            ");

            view = new StubExplorerView();
            events = MockRepository.GenerateMock<IEventAggregator>();

            explorer = new TestExplorer(view, events, new TestFilterBar());
            explorer.Handle(hierarchy);
        }
 public void SetUp()
 {
     hierarchy =
         DataMother.BuildHierarchy(
             @"
     t1,Success
     t2,Failure
     t3,Success
     s1/t4,Success,Regression
     s1/t5,Success,Regression
     s1/t6,Failure,Regression
     s1/s2/t7,Success
     s1/s2/t8,Failure,Regression
     s1/s2/s3/t9,Success
     s1/s2/s3/t10,Success
     s1/s2/s3/s4/t11,Success
     s5/t12,Success
     s5/s6/t13,Success
     s5/s6/s7/t14,Success
     s5/s6/s7/s8/t15,Success
     s9/t16,Success,Regression
     s9/t17,Unknown
     s9/t18,Unknown
     ");
     events = new NulloEventAggregator();
     view = new StubExplorerView();
     explorer = new TestExplorer(view, events, new TestFilterBar());
     explorer.Handle(hierarchy);
 }
        public void SetUp()
        {
            container = new Container();
            view = new StubExplorerView();
            shellConductor = MockRepository.GenerateMock<IScreenConductor>();

            explorer = new FixtureExplorer(view, container);

            library = new FixtureLibrary();
            FixtureGraph fixture1 = library.FixtureFor("Math");
            fixture1.AddStructure("Grammar1", new Sentence());
            fixture1.AddStructure("Grammar2", new Sentence());
            fixture1.AddStructure("Grammar3", new Sentence());

            FixtureGraph fixture2 = library.FixtureFor("Arithmetic");
            fixture2.AddStructure("Grammar4", new Sentence());
            fixture2.AddStructure("Grammar5", new Sentence());

            explorer.Handle(new BinaryRecycleFinished(library));
        }