### Question:
SpeechInfoObject implements Serializable { public static SpeechInfoObject text(String text) { return text(text, LocaleContextHolder.getLocale()); }  static SpeechInfoObject text(String text); static SpeechInfoObject text(String text, Locale locale); static SpeechInfoObject url(String url); @NotNull Lang getLang();  }### Answer:
@Test public void text() throws Exception { String text = UUID.randomUUID().toString(); Locale locale = Locale.UK; LocaleContextHolder.setLocale(locale); assertThat(SpeechInfoObject.text(text)).satisfies(speechInfoObject -> { assertThat(speechInfoObject.getValue()).isEqualTo(text); assertThat(speechInfoObject.getLang()).isEqualTo(Lang.identifyBy(locale)); assertThat(speechInfoObject.getType()).isEqualTo(PLAIN_TEXT); }); }