public void Thread_Culture_wird_nicht_geändert_wenn_keine_Sprache_in_der_Route_gesetzt_ist()
        {
            SetThreadCulture(deCulture);
            ActionExecutingContext actionExecutingContext = ActionContextTestHelper.CreateActionExecutingContext();
            var attribute = new SetThreadCultureAttribute();
            attribute.OnActionExecuting(actionExecutingContext);

            Assert.AreEqual(deCulture.LCID, GetThreadCulture().LCID);
        }
        public void Thread_Culture_wird_zu_der_Sprache_in_der_Route_gesetzt()
        {
            SetThreadCulture(deCulture);
            ActionExecutingContext actionExecutingContext = ActionContextTestHelper.CreateActionExecutingContext();
            actionExecutingContext.RouteData.Values.Add(RouteDataValue.Culture, "nl-nl");
            var attribute = new SetThreadCultureAttribute();
            attribute.OnActionExecuting(actionExecutingContext);

            Assert.AreEqual(nlCulture.LCID, GetThreadCulture().LCID);
        }