Esempio n. 1
0
        public void can_build_a_screen_with_a_subject()
        {
            var test = new Test("some test");

            factory.Build(test).ShouldBeOfType <StubTestScreen>().Subject.ShouldBeTheSameAs(test);
        }
Esempio n. 2
0
 public IScreen CreateScreen(IScreenFactory factory)
 {
     return(factory.Build <TScreen>());
 }
Esempio n. 3
0
 public override IScreen CreateScreen(IScreenFactory factory)
 {
     return(factory.Build(_subject));
 }
Esempio n. 4
0
 public IScreen CreateScreen(IScreenFactory factory)
 {
     return(factory.Build(_purchaseOrder));
 }