public void AdditionalProperties_Should_Be_Set_Correctly(IWebsiteDependencies dependencies) { var test = new StartPageAdditionalProperties(); baseViewModel = new PageViewModel <StartPage, StartPageAdditionalProperties>(startPage, test); baseViewModel.AdditionalProperties.Should().NotBeNull(); }
public PreviewViewModel( StartPage currentPage, StartPageAdditionalProperties additionalProperties, IContent previewContent, IEnumerable <PreviewArea> areas) : base(currentPage, additionalProperties) { PreviewContent = previewContent; Areas = areas; }