public void WhenPageTypeFactoryPropertySet_SetsPageTypeFactoryPropertyValue() { PageTypeUpdater pageTypeUpdater = CreatePageTypeUpdater(); PageTypeFactory setPageTypeFactory = new PageTypeFactory(); pageTypeUpdater.PageTypeFactory = setPageTypeFactory; Assert.Equal<IPageTypeFactory>(setPageTypeFactory, pageTypeUpdater.PageTypeFactory); }
static PageTypeHelper() { PageTypeFactory = new PageTypeFactory(); }