public void can_build_a_screen_with_a_subject() { var test = new Test("some test"); factory.Build(test).ShouldBeOfType <StubTestScreen>().Subject.ShouldBeTheSameAs(test); }
public IScreen CreateScreen(IScreenFactory factory) { return(factory.Build <TScreen>()); }
public override IScreen CreateScreen(IScreenFactory factory) { return(factory.Build(_subject)); }
public IScreen CreateScreen(IScreenFactory factory) { return(factory.Build(_purchaseOrder)); }