Beispiel #1
0
 public void Initialize()
 {
     _pPropsFac = Substitute.For <ICssPropertiesFactory>();
     _rPropsFac = Substitute.For <ICssPropertiesFactory>();
     _styles    = Samples.DocumentSample1.GenerateStyles();
     _instance  = new DefaultsProvider(FacBuilder, _styles);
     _instance.Init();
 }
Beispiel #2
0
 public void Initialize()
 {
     _propsFac = Substitute.For <ICssPropertiesFactory>();
     _styles   = Doc2web.Tests.Samples.DocumentSample1.GenerateStyles();
     _instance = new DefaultsProvider(
         new Lazy <ICssPropertiesFactory>(() => _propsFac),
         _styles
         );
     _instance.Init();
 }