DataprepBundle extends SpringBundle { public static String message(String key, Object... params) { return INSTANCE.getMessage(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 message() throws Exception { String key = "export.CSV.title"; assertEquals(messagesProperties.getProperty(key), DataprepBundle.message(key)); }