Ejemplo n.º 1
0
        private static UnitScenarioWithAllSupportedStepsInRandomOrder CreateSut()
        {
            var container = new ContainerFor <ConcreteObjectWithNoConstructor>(Substitute.For <IContainer>());
            var sut       = new UnitScenarioWithAllSupportedStepsInRandomOrder {
                Container = container
            };

            return(sut);
        }
Ejemplo n.º 2
0
 private static UnitScenarioWithAllSupportedStepsInRandomOrder CreateSut()
 {
     var container = new SutFactory<ConcreteObjectWithNoConstructor>(Substitute.For<IScenarioContainer>());
     var sut = new UnitScenarioWithAllSupportedStepsInRandomOrder { Container = container };
     return sut;
 }