Exemplo n.º 1
0
 public void SetUp()
 {
     mockTestRunner = MockRepository.GenerateMock<ITestRunner>();
     var container = new ObjectContainer();
     container.RegisterInstanceAs(mockTestRunner);
     steps = new StepsTestableHelper();
     ((IContainerDependentObject)steps).SetObjectContainer(container);
 }
Exemplo n.º 2
0
        public StepsTest()
        {
            mockTestRunner = new Mock <ITestRunner>();
            var container = new ObjectContainer();

            container.RegisterInstanceAs(mockTestRunner.Object);
            steps = new StepsTestableHelper();
            ((IContainerDependentObject)steps).SetObjectContainer(container);
        }
Exemplo n.º 3
0
        public void SetUp()
        {
            mockTestRunner = MockRepository.GenerateMock <ITestRunner>();
            var container = new ObjectContainer();

            container.RegisterInstanceAs(mockTestRunner);
            steps = new StepsTestableHelper();
            ((IContainerDependentObject)steps).SetObjectContainer(container);
        }
Exemplo n.º 4
0
 public void SetUp()
 {
     mockTestRunner = MockRepository.GenerateMock <ITestRunner>();
     steps          = new StepsTestableHelper(mockTestRunner);
 }
Exemplo n.º 5
0
 public void SetUp()
 {
     mockTestRunner = MockRepository.GenerateMock<ITestRunner>();
     steps = new StepsTestableHelper(mockTestRunner);
 }