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.
Can you answer this question?
Write Answer1 Answers