You may set
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
in method that is marked as “test initializer” in your unit testing framework.
You may set
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
in method that is marked as “test initializer” in your unit testing framework.