public void InitBase()
        {
            _loader   = new YamlMetadataLoader();
            WebDriver = new NullDriver();

            var factory = new SimpleObjectFactory();

            TurboInitializer.RegisterBuiltInTypes(factory);
            factory.Instance(_loader);

            PageBuilder = factory.GetInstance <IPageFactory>();
        }
Exemple #2
0
 public void Creates_unregistered_class()
 {
     Assert.IsNotNull(_factory.GetInstance <SimpleClass>());
 }