public override void Initialize(NfsTestCase testCase) { StdTestCase standardTestCase = (StdTestCase)testCase; SpringBootstrapper.Bootstrap(); standardTestCase.Ctx = SpringBootstrapper.Ctx; }
public void TestBootstrap() { SpringBootstrapper bootstrapper = BootstrapperFactory.NewSpringBootstrapper(LoggerSetter); LoggerSetter.Bootstrap(); Assert.IsFalse(bootstrapper.IsDone); bootstrapper.Bootstrap(); Assert.IsTrue(bootstrapper.IsDone); Assert.IsNotNull(bootstrapper.Ctx); }