private static PageViewModel GetMappedPageViewModel(IDocumentSession session, Page page)
        {
            var testableUrlHelperFactory = new TestableUrlHelperFactory();
            var urlHelper = testableUrlHelperFactory.Create();

            var pageToPageViewModelMapper = new PageToPageViewModelMapper(session, urlHelper);
            return pageToPageViewModelMapper.Map(page);
        }
        private static EntryViewModel GetMappedEntryViewModel(IDocumentSession session, Entry entry)
        {
            var testableUrlHelperFactory = new TestableUrlHelperFactory();
            var urlHelper = testableUrlHelperFactory.Create();

            var entryToEntryViewModelMapper = new EntryToEntryViewModelMapper(session, urlHelper);
            return entryToEntryViewModelMapper.Map(entry);
        }