public void IsLocalizedModelForForLocalizedControllerWithDifferentCultureReturnsFalse() { ControllerModel controller = TestApplicationModel.Instance.Controller1() .CreateLocalizedControllerModel(GetLocalizedRouteMarker(), ModelExtensionTest.Culture2); Assert.IsFalse(controller.IsLocalizedModelFor(GetLocalizedRouteMarker(), ModelExtensionTest.Culture)); }
public void IsLocalizedModelForForUntranslatedControllerReturnsFalse() { ControllerModel controller = TestApplicationModel.Instance.Controller1(); Assert.IsFalse(controller.IsLocalizedModelFor(GetLocalizedRouteMarker(), ModelExtensionTest.Culture)); }