DataprepBundle extends SpringBundle { public static String defaultMessage(String key, Object... params) { return INSTANCE.getDefaultMessage(key, params); } private  DataprepBundle(); static String message(String key, Object... params); static String defaultMessage(String key, Object... params); static String errorTitle(ErrorCode errorCode, Object... values); static DataprepBundle getDataprepBundle();  }
@Test public void messageDefault() throws Exception { Locale.setDefault(Locale.US); assertEquals("Export to CSV", DataprepBundle.defaultMessage("export.CSV.title")); }