@Test public void url() throws Exception { String url = UUID.randomUUID().toString(); LocaleContextHolder.setLocale(Locale.US); assertThat(SpeechInfoObject.url(url)).satisfies(speechInfoObject -> { assertThat(speechInfoObject.getValue()).isEqualTo(url); assertThat(speechInfoObject.getLang()).isEqualTo(Lang.NONE); assertThat(speechInfoObject.getType()).isEqualTo(URL); }); }
public static SpeechInfoObject url(String url) { return SpeechInfoObject.builder() .value(url) .type(Type.URL) .build(); }
SpeechInfoObject implements Serializable { public static SpeechInfoObject url(String url) { return SpeechInfoObject.builder() .value(url) .type(Type.URL) .build(); } }
SpeechInfoObject implements Serializable { public static SpeechInfoObject url(String url) { return SpeechInfoObject.builder() .value(url) .type(Type.URL) .build(); }  }
SpeechInfoObject implements Serializable { public static SpeechInfoObject url(String url) { return SpeechInfoObject.builder() .value(url) .type(Type.URL) .build(); }  static SpeechInfoObject text(String text); static SpeechInfoObject text(String text, Locale locale); static SpeechInfoObject url(String url); @NotNull Lang getLang(); }
SpeechInfoObject implements Serializable { public static SpeechInfoObject url(String url) { return SpeechInfoObject.builder() .value(url) .type(Type.URL) .build(); }  static SpeechInfoObject text(String text); static SpeechInfoObject text(String text, Locale locale); static SpeechInfoObject url(String url); @NotNull Lang getLang();  }