How do you change the default locale for a JUnit Test. Current locale is en. I want to test for es_ES. I tried:
System.setProperty("locale", "es_ES");
But this doesn't seem to work.
Home / DeveloperSection / Forums / change default locale for junit test
Mark Devid
30-Dec-2014