public static PageTypeSynchronizer PartialMock(
     MockRepository fakesRepository,
     IPageTypeDefinitionLocator definitionLocator,
     PageTypeBuilderConfiguration configuration)
 {
     return(fakesRepository.PartialMock <PageTypeSynchronizer>(
                definitionLocator,
                configuration,
                PageTypePropertyUpdaterFactory.Create(),
                new PageTypeDefinitionValidator(new PageDefinitionTypeMapper(new PageDefinitionTypeFactory())),
                new PageTypeResolver(),
                new PageTypeLocator(new PageTypeFactory()),
                PageTypeUpdaterFactory.Create(),
                TabDefinitionUpdaterFactory.Create(),
                TabLocatorFactory.Create()));
 }
 public static PageTypeSynchronizer Create(IPageTypeLocator pageTypeLocator)
 {
     return(Create(PageTypePropertyUpdaterFactory.Create(), pageTypeLocator));
 }