How to mock ResourceBundle in Mocktio running with MocktioJunitRunner.class

后端 未结 0 1825
刺人心
刺人心 2020-12-30 02:36

final Locale locale = new Locale(dummy.getUserDefaultLanguage().trim()); final ResourceBundle bundle = ResourceBundle.getBundle("resource/file1", locale); //added

相关标签:
回答
  • 消灭零回复
提交回复
热议问题