public void TestNewSpringRunner() { Runner runner = BootstrapperFactory.NewSpringRunner(LoggerSetter, SpringBootstrapper); Assert.IsNotNull(runner); Assert.IsInstanceOf(typeof(SpringRunnerImpl), runner); Assert.IsTrue(LoggerSetterImpl.LoggerRecipients.Contains(runner)); }
public void TestRun() { Runner runner = BootstrapperFactory.NewSpringRunner(LoggerSetter, SpringBootstrapper); Bootstrapper.Bootstrap(); Assert.IsFalse(runner.IsDone); runner.Run(); Assert.IsTrue(runner.IsDone); }