public void Should_not_output_auto_navigation_script_when_view_mode_is_valid() { var model = new ValidTestViewModel(); _validationConfiguration.Validate(model); _testView.SetModel(model); _testView.Validate() .NavigateHereWhenInvalid() .ToString() .ShouldEqual(string.Empty); }