示例#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);
        }
示例#2
0
 public IScreen CreateScreen(IScreenFactory factory)
 {
     return(factory.Build <TScreen>());
 }
示例#3
0
 public override IScreen CreateScreen(IScreenFactory factory)
 {
     return(factory.Build(_subject));
 }
示例#4
0
 public IScreen CreateScreen(IScreenFactory factory)
 {
     return(factory.Build(_purchaseOrder));
 }