public void GetModelDirective_HostViewDataTypeNameIsMyAppMyModel_ReturnsRazorModelFollowedByMyAppMyModel() { CreateEmptyViewTemplatePreprocessor(); mvcHost.ViewDataTypeName = "MyApp.MyModel"; string modelDirective = emptyViewTemplate.GetModelDirective(); Assert.AreEqual("@model MyApp.MyModel", modelDirective); }