public void WhenPageTypeFactoryPropertySet_SetsPageTypeFactoryPropertyValue()
        {
            PageTypeUpdater pageTypeUpdater = CreatePageTypeUpdater();

            PageTypeFactory setPageTypeFactory = new PageTypeFactory();
            pageTypeUpdater.PageTypeFactory = setPageTypeFactory;

            Assert.Equal<IPageTypeFactory>(setPageTypeFactory, pageTypeUpdater.PageTypeFactory);
        }
예제 #2
0
 static PageTypeHelper()
 {
     PageTypeFactory = new PageTypeFactory();
 }